1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/games/fkiss/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

69 lines
2.0 KiB
Makefile

# Created by: Seiichirou Hiraoka <flathill@flathill.gr.jp>
# $FreeBSD$
PORTNAME= fkiss
PORTVERSION= 0.33a
PORTREVISION= 5
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+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= lha:archivers/lha
BROKEN_aarch64= fails to compile: passing char * to parameter of incompatible type __builtin_va_list
BROKEN_armv6= fails to compile: passing char * to parameter of incompatible type __builtin_va_list
BROKEN_armv7= fails to compile: passing char * to parameter of incompatible type __builtin_va_list
EXTRA_PATCHES= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.diff
USES= gmake
USE_XORG= x11 xorgproto
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 <bsd.port.mk>