aboutsummaryrefslogtreecommitdiff
path: root/games/fkiss
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2014-01-30 08:27:55 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2014-01-30 08:27:55 +0000
commit2533447074f348564a05e2f8ba2d09b5acefac8d (patch)
tree97f9f0394dc92cd5e28652f39534b1a2ce9d2afb /games/fkiss
parentd296022ac9571c08a33adf982e44d420d84eeede (diff)
downloadports-2533447074f348564a05e2f8ba2d09b5acefac8d.tar.gz
ports-2533447074f348564a05e2f8ba2d09b5acefac8d.zip
Notes
Diffstat (limited to 'games/fkiss')
-rw-r--r--games/fkiss/Makefile43
1 files changed, 21 insertions, 22 deletions
diff --git a/games/fkiss/Makefile b/games/fkiss/Makefile
index 9879cb36729f..79d9379a259e 100644
--- a/games/fkiss/Makefile
+++ b/games/fkiss/Makefile
@@ -1,4 +1,4 @@
-# Created by: Seiichirou Hiraoka
+# Created by: Seiichirou Hiraoka <flathill@flathill.gr.jp>
# $FreeBSD$
PORTNAME= fkiss
@@ -13,35 +13,35 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Freely enjoy childlike KISS, French-KISS!
+LICENSE= GPLv2
+
RUN_DEPENDS= lha:${PORTSDIR}/archivers/lha
-NOT_FOR_ARCHS= alpha
+EXTRA_PATCHES= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.diff
+USES= gmake
USE_XORG= x11 xproto
WANT_GNOME= yes
-USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
AUTOMAKE="${TRUE}"
-MAN1= fkiss.1
+PLIST_FILES= bin/fkiss man/man1/fkiss.1.gz
PORTDOCS= *
PORTEXAMPLES= *
-PLIST_FILES= bin/fkiss
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
-.if ${HAVE_GNOME:Mesound}!=""
+# XXX should be converted to OptionsNG
+.if ${HAVE_GNOME:Mesound}
+USES+= pkgconfig
USE_GNOME+= esound
CPPFLAGS+= `pkg-config --cflags-only-I esound`
LDFLAGS+= `pkg-config --libs-only-L esound `
.endif
-pre-patch:
- @cd ${WRKSRC} && ${CAT} ../${PORTNAME}-${PORTVERSION}.diff \
- | ${PATCH} ${PATCH_ARGS}
-
post-patch:
@${REINPLACE_CMD} -e 's|= @X_LIBS@|= @LDFLAGS@ @X_LIBS@|g' \
${WRKSRC}/Makefile.in
@@ -49,16 +49,15 @@ post-patch:
${WRKSRC}/sound.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fkiss ${PREFIX}/bin/fkiss
- ${INSTALL_MAN} ${WRKSRC}/fkiss.man ${MANPREFIX}/man/man1/fkiss.1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
- ${INSTALL_DATA} ${WRKSRC}/README.euc ${DOCSDIR}/README.ja_JP.eucJP
-.endif
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/frkismi4.lzh ${EXAMPLESDIR}/frkismi4.lzh
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/fkiss ${STAGEDIR}${PREFIX}/bin/fkiss
+ ${INSTALL_MAN} ${WRKSRC}/fkiss.man \
+ ${STAGEDIR}${MANPREFIX}/man/man1/fkiss.1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.euc \
+ ${STAGEDIR}${DOCSDIR}/README.ja_JP.eucJP
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/frkismi4.lzh \
+ ${STAGEDIR}${EXAMPLESDIR}/frkismi4.lzh
.include <bsd.port.post.mk>