diff options
Diffstat (limited to 'misc/dotfile/Makefile')
-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" |