summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-17 15:39:02 +0000
committerjoerg <joerg>2010-02-17 15:39:02 +0000
commite6a4ece76a9a6497478c1779967a0e7f1ae4daa9 (patch)
tree46bced1b5795d85c09269b37eb03ebc9a48d03d3 /sysutils
parent2832f977c5be438c768f7505cd37617a6363c9b1 (diff)
downloadpkgsrc-e6a4ece76a9a6497478c1779967a0e7f1ae4daa9.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tkdesk/Makefile7
-rw-r--r--sysutils/ups-nut-cgi/Makefile5
2 files changed, 10 insertions, 2 deletions
diff --git a/sysutils/tkdesk/Makefile b/sysutils/tkdesk/Makefile
index 02e56b908e1..a4586c67ba5 100644
--- a/sysutils/tkdesk/Makefile
+++ b/sysutils/tkdesk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/05/26 02:13:24 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2010/02/17 15:44:11 joerg Exp $
#
DISTNAME= tkdesk-2.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tkdesk.sourceforge.net/
COMMENT= Graphical file manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= pax
GNU_CONFIGURE= YES
@@ -20,6 +22,9 @@ CONFIGURE_ARGS+=--with-tcl=${BUILDLINK_PREFIX.tcl}/lib \
MAKE_ENV+= LIB_RUNTIME_DIR=${BUILDLINK_PREFIX.tcl-itcl:Q}/lib \
PAX=${PAX:Q}
+INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
.include "../../lang/tcl/buildlink3.mk"
.include "../../lang/tcl-itcl/buildlink3.mk"
.include "../../x11/blt/buildlink3.mk"
diff --git a/sysutils/ups-nut-cgi/Makefile b/sysutils/ups-nut-cgi/Makefile
index b8302193227..3f287a47335 100644
--- a/sysutils/ups-nut-cgi/Makefile
+++ b/sysutils/ups-nut-cgi/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2010/01/18 09:59:27 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2010/02/17 15:39:02 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../sysutils/ups-nut/Makefile.common"
@@ -10,6 +12,7 @@ DEPENDS+= ups-nut-2.*:../../sysutils/ups-nut
BUILD_TARGET= cgi
INSTALL_TARGET= install-cgi
+INSTALLATION_DIRS+= ${NUT_EGDIR}
CONFIGURE_ARGS+= --with-cgi
CONFIGURE_ARGS+= --with-cgipath=${NUT_CGIDIR:Q}