diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
commit | 2e614fcea0b247bbc54200c2ed35e943cca37125 (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/goofey | |
parent | f61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff) | |
download | pkgsrc-2e614fcea0b247bbc54200c2ed35e943cca37125.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'chat/goofey')
-rw-r--r-- | chat/goofey/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chat/goofey/Makefile b/chat/goofey/Makefile index a280a883cea..925821afefe 100644 --- a/chat/goofey/Makefile +++ b/chat/goofey/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/01/07 09:13:49 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/03 02:19:51 jlam Exp $ # DISTNAME= goofey-3.15 @@ -10,6 +10,8 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://www.csse.monash.edu.au/~tym/goofey.html COMMENT= Text-based client for goofey, a flexible short message system +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes LDFLAGS.SunOS+= -lnsl -lsocket @@ -19,7 +21,7 @@ do-build: cd ${WRKSRC}; ${CC} ${CFLAGS} ${LDFLAGS} -o goofey goofey.c do-install: - ${INSTALL} ${WRKSRC}/goofey ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/goofey.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL} ${WRKSRC}/goofey ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/goofey.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |