2014-01-30 09:27:55 +01:00
|
|
|
# Created by: Seiichirou Hiraoka <flathill@flathill.gr.jp>
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1998-11-16 16:37:33 +01:00
|
|
|
|
2000-04-14 08:43:02 +02:00
|
|
|
PORTNAME= fkiss
|
2005-09-18 01:29:22 +02:00
|
|
|
PORTVERSION= 0.33a
|
2015-09-13 15:42:26 +02:00
|
|
|
PORTREVISION= 3
|
1998-11-17 05:16:27 +01:00
|
|
|
CATEGORIES= games
|
2011-08-08 15:44:12 +02:00
|
|
|
MASTER_SITES= http://www2s.biglobe.ne.jp/~yav/soft/fkiss/
|
2005-09-18 01:29:22 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/a//}
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}-${PORTVERSION}-patch${EXTRACT_SUFX}
|
1998-11-16 16:37:33 +01:00
|
|
|
|
2005-04-03 23:30:39 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Freely enjoy childlike KISS, French-KISS!
|
1998-11-16 16:37:33 +01:00
|
|
|
|
2014-01-30 09:27:55 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS= lha:archivers/lha
|
1998-11-16 16:37:33 +01:00
|
|
|
|
2014-01-30 09:27:55 +01:00
|
|
|
EXTRA_PATCHES= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.diff
|
2005-09-18 01:29:22 +02:00
|
|
|
|
2014-01-30 09:27:55 +01:00
|
|
|
USES= gmake
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xproto
|
2005-09-18 01:29:22 +02:00
|
|
|
WANT_GNOME= yes
|
2001-08-31 16:26:05 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-09-18 01:29:22 +02:00
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
|
|
|
|
AUTOMAKE="${TRUE}"
|
2001-08-31 16:26:05 +02:00
|
|
|
|
2014-01-30 09:27:55 +01:00
|
|
|
PLIST_FILES= bin/fkiss man/man1/fkiss.1.gz
|
2011-08-08 15:44:12 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
2005-09-18 01:29:22 +02:00
|
|
|
|
2015-09-13 15:42:26 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES ESOUND
|
2014-01-30 09:27:55 +01:00
|
|
|
|
2015-09-13 15:42:26 +02:00
|
|
|
ESOUND_USES= pkgconfig
|
|
|
|
ESOUND_USE= GNOME=esound
|
|
|
|
ESOUND_CPPFLAGS= `pkgconf --cflags-only-I esound`
|
|
|
|
ESOUND_LDFLAGS= `pkgconf --libs-only-L esound `
|
|
|
|
ESOUND_CONFIGURE_ENV_OFF= ac_cv_lib_esd_esd_open_sound=no \
|
|
|
|
ac_cv_header_esd_h=no
|
2005-09-18 01:29:22 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|= @X_LIBS@|= @LDFLAGS@ @X_LIBS@|g' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|machine/soundcard|sys/soundcard|g' \
|
|
|
|
${WRKSRC}/sound.c
|
1998-11-16 16:37:33 +01:00
|
|
|
|
2005-09-18 01:29:22 +02:00
|
|
|
do-install:
|
2014-01-30 09:27:55 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fkiss ${STAGEDIR}${PREFIX}/bin/fkiss
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/fkiss.man \
|
|
|
|
${STAGEDIR}${MANPREFIX}/man/man1/fkiss.1
|
2015-09-13 15:42:26 +02:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-01-30 09:27:55 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.euc \
|
|
|
|
${STAGEDIR}${DOCSDIR}/README.ja_JP.eucJP
|
2015-09-13 15:42:26 +02:00
|
|
|
|
|
|
|
do-install-EXAMPLES-on:
|
2014-01-30 09:27:55 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/frkismi4.lzh \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR}/frkismi4.lzh
|
1998-11-16 16:37:33 +01:00
|
|
|
|
2015-09-13 15:42:26 +02:00
|
|
|
.include <bsd.port.mk>
|