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 | 0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/fillets-ng-data | |
parent | 4e56d99acab2b215405ccc900e56d697c30ae727 (diff) | |
download | pkgsrc-0c6a3253fe7d652e4d744555cc7352fffd4d103a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/fillets-ng-data')
-rw-r--r-- | games/fillets-ng-data/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/games/fillets-ng-data/Makefile b/games/fillets-ng-data/Makefile index 8110c6c15c2..ebf4ac27ba8 100644 --- a/games/fillets-ng-data/Makefile +++ b/games/fillets-ng-data/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/10/04 21:43:00 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2008/03/04 06:59:04 jlam Exp $ # DISTNAME= fillets-ng-data-0.7.1 @@ -9,16 +9,18 @@ MAINTAINER= salo@NetBSD.org HOMEPAGE= http://fillets.sourceforge.net/ COMMENT= Fish Fillets NG data files +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes NO_CONFIGURE= yes do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/games/fillets-ng - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fillets-ng + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/games/fillets-ng + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/fillets-ng cd ${WRKSRC} && \ ${PAX} -rw -pm font images music script sound \ - ${PREFIX}/share/games/fillets-ng/ + ${DESTDIR}${PREFIX}/share/games/fillets-ng/ cd ${WRKSRC}/doc/html && \ - ${PAX} -rw -pm . ${PREFIX}/share/doc/fillets-ng/ + ${PAX} -rw -pm . ${DESTDIR}${PREFIX}/share/doc/fillets-ng/ .include "../../mk/bsd.pkg.mk" |