summaryrefslogtreecommitdiff
path: root/chat/goofey/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 01:50:26 +0000
committerjlam <jlam>2008-03-03 01:50:26 +0000
commitb5039a1a4c787f67dc3f15e83575b6e33b1f05cf (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/goofey/Makefile
parent456f42e79b453ab8ccfea39b2c5c3f50c1fd0acb (diff)
downloadpkgsrc-b5039a1a4c787f67dc3f15e83575b6e33b1f05cf.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/Makefile')
-rw-r--r--chat/goofey/Makefile8
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"