summaryrefslogtreecommitdiff
path: root/games/fkiss/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/fkiss/Makefile')
-rw-r--r--games/fkiss/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/games/fkiss/Makefile b/games/fkiss/Makefile
index d0aefcda3fb..5dfc8799f67 100644
--- a/games/fkiss/Makefile
+++ b/games/fkiss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/12/04 00:28:02 ben Exp $
+# $NetBSD: Makefile,v 1.9 2003/12/04 03:22:49 ben Exp $
#
DISTNAME= fkiss-0.33
@@ -24,6 +24,15 @@ CFLAGS+= -DUSE_STDARG -DHAVE_STDARG_H
CFLAGS+= -DDEV_SOUND=\"\\\"${DEVOSSSOUND}\\\"\"
ALL_TARGET= fkiss
+post-patch:
+ ${MV} ${WRKSRC}/sound.c ${WRKSRC}/sound.c.bak
+ ${SED} -e "s,XXXPREFIXXXX,${PREFIX},g" \
+ <${WRKSRC}/sound.c.bak >${WRKSRC}/sound.c
+ ${MV} ${WRKSRC}/fkiss.man ${WRKSRC}/fkiss.man.bak
+ ${SED} -e "s,XXXPREFIXXXX,${PREFIX},g" \
+ <${WRKSRC}/fkiss.man.bak >${WRKSRC}/fkiss.man
+
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fkiss ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/fkiss.man ${PREFIX}/man/man6/fkiss.6