blob: be872bf5e930b71e367cc5d9b7bf8a75093f67f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Created by: Seiichirou Hiraoka <flathill@flathill.gr.jp>
# $FreeBSD$
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+
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
EXTRA_PATCHES= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.diff
USES= gmake
USE_XORG= x11 xproto
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>
|