diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 19:14:19 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 19:14:19 +0000 |
commit | 8632438c25e16ca480cc1992dc73648fb96a24ea (patch) | |
tree | 571eaa14f83a462703e2068a573fd20967d4bf40 /misc | |
parent | fce43bd66e5e58a7d73e09d58825048ed411096b (diff) | |
download | pkgsrc-8632438c25e16ca480cc1992dc73648fb96a24ea.tar.gz |
DESTDIr support
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dotfile/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/misc/dotfile/Makefile b/misc/dotfile/Makefile index ad5e08bcf7b..f403c457e8c 100644 --- a/misc/dotfile/Makefile +++ b/misc/dotfile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2008/05/26 02:13:22 joerg Exp $ +# $NetBSD: Makefile,v 1.34 2010/02/11 19:14:19 joerg Exp $ DISTNAME= dotfile-2.4.1 PKGREVISION= 2 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.blackie.dk/dotfile/ COMMENT= GUI dotfile generator program to create .config files +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= tk>=8.3.2:../../x11/tk USE_TOOLS+= pax @@ -22,9 +24,10 @@ DOTFILE_LANG?= english GNU_CONFIGURE= yes NO_BUILD= yes -MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}/man1 INSTALLATION_DIRS= bin share/doc/${PKGNAME_NOREV} +INSTALL_MAKE_FLAGS+= mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 \ + prefix=${DESTDIR}${PREFIX} CHECK_INTERPRETER_SKIP= share/${DISTNAME}/* @@ -32,7 +35,7 @@ pre-install: rm -f ${WRKSRC}/Generator/makeHelp.orig post-install: - cd ${WRKSRC:Q}/Doc && pax -rw . ${PREFIX}/share/doc/${PKGNAME_NOREV} - ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} ${PREFIX}/share/doc/${PKGNAME_NOREV} + cd ${WRKSRC:Q}/Doc && pax -rw . ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV} + ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV} .include "../../mk/bsd.pkg.mk" |