mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-24 12:14:00 -04:00
30 lines
943 B
PHP
30 lines
943 B
PHP
$NetBSD: patch-mod_modclopt_Cookfile.inc.in,v 1.2 2015/12/29 23:34:53 dholland Exp $
|
|
|
|
DESTDIR support.
|
|
|
|
--- mod/modclopt/Cookfile.inc.in.orig 2005-03-17 07:54:59.000000000 +0000
|
|
+++ mod/modclopt/Cookfile.inc.in
|
|
@@ -92,18 +92,18 @@ modclopt_mods_check_update : modclopt_mo
|
|
|
|
modclopt_mods_install :
|
|
{
|
|
- @INSTALL@ -d [DATADIR]/onyx-@onyx_version@/nx/modclopt;
|
|
+ @INSTALL@ -d [DESTDIR][DATADIR]/onyx-@onyx_version@/nx/modclopt;
|
|
|
|
loop local f = [MODCLOPT_NX] [MODCLOPT_NX_GEN]
|
|
{
|
|
- @INSTALL@ -m 0644 [f] [DATADIR]/onyx-@onyx_version@/nx/modclopt/;
|
|
+ @INSTALL@ -m 0644 [f] [DESTDIR][DATADIR]/onyx-@onyx_version@/nx/modclopt/;
|
|
}
|
|
}
|
|
|
|
modclopt_mods_uninstall :
|
|
{
|
|
- rm -f [DATADIR]/onyx-@onyx_version@/nxm/modclopt.nxm;
|
|
- rm -rf [DATADIR]/onyx-@onyx_version@/nx/modclopt;
|
|
+ rm -f [DESTDIR][DATADIR]/onyx-@onyx_version@/nxm/modclopt.nxm;
|
|
+ rm -rf [DESTDIR][DATADIR]/onyx-@onyx_version@/nx/modclopt;
|
|
}
|
|
|
|
modclopt_mods_clean :
|