summaryrefslogtreecommitdiff
path: root/devel/idutils
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-08 16:09:00 +0000
committerjoerg <joerg>2009-07-08 16:09:00 +0000
commit86de9b03203afe188173d39c6e90fc55cbf5e57c (patch)
tree4429253657b81805031395d20c599a54a40c32ef /devel/idutils
parentbeaf4b912cc4712853ebdcb5aab2736660692513 (diff)
downloadpkgsrc-86de9b03203afe188173d39c6e90fc55cbf5e57c.tar.gz
user-destdir support
Diffstat (limited to 'devel/idutils')
-rw-r--r--devel/idutils/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/idutils/Makefile b/devel/idutils/Makefile
index e326a48eef6..9746998a3e1 100644
--- a/devel/idutils/Makefile
+++ b/devel/idutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/03/13 13:24:29 bad Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/08 16:09:04 joerg Exp $
DISTNAME= idutils-4.2
PKGREVISION= 1
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/idutils/idutils.html
COMMENT= Classic Berkeley gid/lid tools for looking up variables in code
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= sh-utils>=2.0nb2 coreutils-[0-9]*
USE_PKGLOCALEDIR= yes
@@ -23,11 +25,12 @@ MAKE_ENV+= BSD_SETENV=${SETENV:Q}
MAKE_FLAGS+= elc_SCRIPTS=
LISPDIR= ${PREFIX}/share/emacs/site-lisp
-REQD_DIRS= ${LISPDIR}
+
+INSTALLATION_DIRS= ${LISPDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
post-install:
- ${INSTALL_DATA} ${WRKSRC}/lisp/idutils.el ${LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/lisp/idutils.el ${DESTDIR}${LISPDIR}
.include "../../mk/bsd.pkg.mk"