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/powwow | |
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/powwow')
-rw-r--r-- | games/powwow/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games/powwow/Makefile b/games/powwow/Makefile index f8c510e274f..45026d69740 100644 --- a/games/powwow/Makefile +++ b/games/powwow/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/01/07 09:13:54 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/04 06:59:05 jlam Exp $ DISTNAME= powwow-1.2.5 PKGREVISION= 1 @@ -9,6 +9,8 @@ MAINTAINER= jdolecek@NetBSD.org HOMEPAGE= http://linuz.sns.it/~max/powwow.html COMMENT= Client to play MUDs +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake POWWOW_DIR= ${PREFIX}/share/powwow @@ -18,10 +20,10 @@ do-build: cd ${WRKSRC} && POWWOW_DIR="${POWWOW_DIR}" CFLAGS="${CFLAGS}" ./make_it do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/powwow ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/powwow.6 ${PREFIX}/${PKGMANDIR}/man6 - ${INSTALL_DATA_DIR} ${POWWOW_DIR} - ${INSTALL_DATA} ${WRKSRC}/powwow.doc ${POWWOW_DIR} - ${INSTALL_DATA} ${WRKSRC}/powwow.help ${POWWOW_DIR} + ${INSTALL_PROGRAM} ${WRKSRC}/powwow ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/powwow.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6 + ${INSTALL_DATA_DIR} ${DESTDIR}${POWWOW_DIR} + ${INSTALL_DATA} ${WRKSRC}/powwow.doc ${DESTDIR}${POWWOW_DIR} + ${INSTALL_DATA} ${WRKSRC}/powwow.help ${DESTDIR}${POWWOW_DIR} .include "../../mk/bsd.pkg.mk" |