summaryrefslogtreecommitdiff
path: root/games/fortunes-futurama/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/fortunes-futurama/Makefile')
-rw-r--r--games/fortunes-futurama/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/games/fortunes-futurama/Makefile b/games/fortunes-futurama/Makefile
index 28401064a4d..1b5e57af618 100644
--- a/games/fortunes-futurama/Makefile
+++ b/games/fortunes-futurama/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/11/09 08:44:04 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/04 06:59:04 jlam Exp $
#
DISTNAME= fortunes-futurama-0.2
@@ -12,6 +12,8 @@ COMMENT= Fortunes from the Futurama animated TV series
BUILD_DEPENDS+= fortune-strfile-[0-9]*:../../games/fortune-strfile
+PKG_DESTDIR_SUPPORT= user-destdir
+
STRFILE= ${LOCALBASE}/bin/strfile
WRKSRC= ${WRKDIR}
@@ -19,8 +21,10 @@ do-build:
${STRFILE} ${WRKDIR}/${DISTNAME}
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/games/fortune/
- ${INSTALL_DATA} ${WRKSRC}/${DISTNAME} ${PREFIX}/share/games/fortune/futurama
- ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.dat ${PREFIX}/share/games/fortune/futurama.dat
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/games/fortune/
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME} \
+ ${DESTDIR}${PREFIX}/share/games/fortune/futurama
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.dat \
+ ${DESTDIR}${PREFIX}/share/games/fortune/futurama.dat
.include "../../mk/bsd.pkg.mk"