2017-08-16 22:45:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2017/08/16 20:45:37 wiz Exp $
|
2002-07-14 11:40:30 +02:00
|
|
|
#
|
|
|
|
|
2003-12-04 01:28:02 +01:00
|
|
|
DISTNAME= fkiss-0.33
|
|
|
|
PKGNAME= fkiss-0.33a
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2002-07-14 11:40:30 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://www.oersted.co.jp/~yav/soft/fkiss/
|
|
|
|
|
2006-12-15 15:34:18 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-08-16 22:45:30 +02:00
|
|
|
#HOMEPAGE= http://www.oersted.co.jp/~yav/soft/indexe.html#fkiss
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Kisekae viewer
|
2002-07-14 11:40:30 +02:00
|
|
|
|
2003-12-04 01:28:02 +01:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
2007-02-22 20:26:05 +01:00
|
|
|
PATCHFILES= fkiss-0.33a.diff
|
|
|
|
PATCH_DIST_STRIP= -p1
|
2003-12-04 01:28:02 +01:00
|
|
|
|
2002-09-21 14:55:07 +02:00
|
|
|
DEPENDS+= lha-[0-9]*:../../archivers/lha
|
2002-07-14 11:40:30 +02:00
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2002-07-14 11:40:30 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-08-13 03:51:25 +02:00
|
|
|
CFLAGS+= -DUSE_STDARG -DHAVE_STDARG_H
|
2005-02-14 11:15:05 +01:00
|
|
|
CFLAGS+= -DDEV_SOUND="\"${DEVOSSSOUND}\""
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= fkiss
|
2006-12-19 13:06:28 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
|
2002-07-14 11:40:30 +02:00
|
|
|
|
2003-12-04 04:22:49 +01:00
|
|
|
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
|
|
|
|
|
2002-07-14 11:40:30 +02:00
|
|
|
do-install:
|
2008-03-04 07:59:03 +01:00
|
|
|
${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
|
2002-07-14 11:40:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/fkissrc.smp \
|
2008-03-04 07:59:03 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/fkiss/fkissrc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/frkismi4.lzh \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/fkiss
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/fkiss
|
2002-07-14 11:40:30 +02:00
|
|
|
for i in ${WRKSRC}/*.doc; do \
|
|
|
|
${SED} -f ${WRKSRC}/english.sed <$$i \
|
2008-03-04 07:59:03 +01:00
|
|
|
>${DESTDIR}${PREFIX}/share/doc/fkiss/`${BASENAME} $$i`; \
|
2002-07-14 11:40:30 +02:00
|
|
|
done
|
|
|
|
|
2007-02-02 18:24:58 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2002-07-14 11:40:30 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|