summaryrefslogtreecommitdiff
path: root/games/fkiss
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 06:59:03 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 06:59:03 +0000
commit0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch)
tree85dcef76c01a75047f6f6e519e34539fa17ae348 /games/fkiss
parent4e56d99acab2b215405ccc900e56d697c30ae727 (diff)
downloadpkgsrc-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/fkiss')
-rw-r--r--games/fkiss/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/games/fkiss/Makefile b/games/fkiss/Makefile
index 24a7265dd1c..abc55c69aae 100644
--- a/games/fkiss/Makefile
+++ b/games/fkiss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2007/02/22 19:26:30 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2008/03/04 06:59:04 jlam Exp $
#
DISTNAME= fkiss-0.33
@@ -17,6 +17,8 @@ PATCH_DIST_STRIP= -p1
DEPENDS+= lha-[0-9]*:../../archivers/lha
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CFLAGS+= -DUSE_STDARG -DHAVE_STDARG_H
@@ -33,16 +35,18 @@ post-patch:
<${WRKSRC}/fkiss.man.bak >${WRKSRC}/fkiss.man
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fkiss ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/fkiss.man ${PREFIX}/${PKGMANDIR}/man6/fkiss.6
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fkiss
+ ${INSTALL_PROGRAM} ${WRKSRC}/fkiss ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/fkiss.man \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/fkiss.6
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/fkiss
${INSTALL_DATA} ${WRKSRC}/fkissrc.smp \
- ${PREFIX}/share/examples/fkiss/fkissrc
- ${INSTALL_DATA} ${WRKSRC}/frkismi4.lzh ${PREFIX}/share/examples/fkiss
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fkiss
+ ${DESTDIR}${PREFIX}/share/examples/fkiss/fkissrc
+ ${INSTALL_DATA} ${WRKSRC}/frkismi4.lzh \
+ ${DESTDIR}${PREFIX}/share/examples/fkiss
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/fkiss
for i in ${WRKSRC}/*.doc; do \
${SED} -f ${WRKSRC}/english.sed <$$i \
- >${PREFIX}/share/doc/fkiss/`${BASENAME} $$i`; \
+ >${DESTDIR}${PREFIX}/share/doc/fkiss/`${BASENAME} $$i`; \
done
.include "../../x11/libX11/buildlink3.mk"