# Created by: Seiichirou Hiraoka # $FreeBSD: head/games/fkiss/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= fkiss PORTVERSION= 0.33a PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://www2s.biglobe.ne.jp/~yav/soft/fkiss/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/a//} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}-${PORTVERSION}-patch${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Freely enjoy childlike KISS, French-KISS! LICENSE= GPLv2 RUN_DEPENDS= lha:archivers/lha EXTRA_PATCHES= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.diff USES= gmake USE_XORG= x11 xorgproto WANT_GNOME= yes GNU_CONFIGURE= yes MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \ AUTOMAKE="${TRUE}" PLIST_FILES= bin/fkiss man/man1/fkiss.1.gz PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES ESOUND 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 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 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fkiss ${STAGEDIR}${PREFIX}/bin/fkiss ${INSTALL_MAN} ${WRKSRC}/fkiss.man \ ${STAGEDIR}${MANPREFIX}/man/man1/fkiss.1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.euc \ ${STAGEDIR}${DOCSDIR}/README.ja_JP.eucJP do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/frkismi4.lzh \ ${STAGEDIR}${EXAMPLESDIR}/frkismi4.lzh .include