diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
commit | 29d85ddd6a393a4bfaf03a504f8916a55cec3687 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/fortunes-de | |
parent | 38dd76219d21c71b412129d8960dd0c0b88a92b8 (diff) | |
download | pkgsrc-29d85ddd6a393a4bfaf03a504f8916a55cec3687.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/fortunes-de')
-rw-r--r-- | games/fortunes-de/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/games/fortunes-de/Makefile b/games/fortunes-de/Makefile index 573eddc5b80..45334686fc5 100644 --- a/games/fortunes-de/Makefile +++ b/games/fortunes-de/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/01/07 13:24:33 rillig Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/04 06:59:04 jlam Exp $ # DISTNAME= fortunes-de-0.20 @@ -12,7 +12,9 @@ COMMENT= German data files for fortune BUILD_DEPENDS+= fortune-strfile-[0-9]*:../../games/fortune-strfile -STRFILE= ${LOCALBASE}/bin/strfile +PKG_DESTDIR_SUPPORT= user-destdir + +STRFILE= ${LOCALBASE}/bin/strfile INSTALLATION_DIRS= share/games/fortune/de CHECK_PORTABILITY_SKIP= install.sh @@ -20,6 +22,7 @@ do-build: find ${WRKSRC}/data -type f ! -name "*.dat" -exec ${STRFILE} {} \; do-install: - cd ${WRKSRC}/data && pax -rw . ${PREFIX}/share/games/fortune/de + cd ${WRKSRC}/data && pax -rw . \ + ${DESTDIR}${PREFIX}/share/games/fortune/de .include "../../mk/bsd.pkg.mk" |