15dac70c75
Upstream used to distribute protocol headers as separate packages, but has decided to merge those to a common package, named xorgproto. This update tracks that change. * Add a new port, x11/xorgproto, with are protocol headers for xorg. * Hook the new protocol port to the build and to infrastructure in bsd.xorg.mk. * Update all ports with a dependency on any of the old *proto packages to instead depend on xorgproto. Bump portrevision. * Delete the old *proto packages, update MOVED. PR: 230023 Submitted by: zeising Approved by: portmgr (antoine) exp-run by: antoine
69 lines
2.0 KiB
Makefile
69 lines
2.0 KiB
Makefile
# Created by: Seiichirou Hiraoka <flathill@flathill.gr.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fkiss
|
|
PORTVERSION= 0.33a
|
|
PORTREVISION= 4
|
|
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>
|