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/thew | |
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/thew')
-rw-r--r-- | games/thew/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/games/thew/Makefile b/games/thew/Makefile index 3a73201e826..a3366adade5 100644 --- a/games/thew/Makefile +++ b/games/thew/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/12/07 05:28:30 rillig Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/04 06:59:06 jlam Exp $ DISTNAME= thew-1.1.1 PKGREVISION= 2 @@ -11,11 +11,12 @@ MAINTAINER= ilfoglionascosto@netcat.it HOMEPAGE= http://thew.sourceforce.net/ COMMENT= The hermit worm +PKG_DESTDIR_SUPPORT= user-destdir AUTO_MKDIRS= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/thew ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/thew.6 ${PREFIX}/${PKGMANDIR}/man6 + ${INSTALL_PROGRAM} ${WRKSRC}/thew ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/thew.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6 .include "../../mk/curses.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |