summaryrefslogtreecommitdiff
path: root/chat/goofey/Makefile
diff options
context:
space:
mode:
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"