Lines 6-30
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= hinversi |
8 |
PORTNAME= hinversi |
9 |
PORTVERSION= 0.8.1 |
9 |
PORTVERSION= 0.8.2 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= games |
10 |
CATEGORIES= games |
12 |
MASTER_SITES= http://asturio.gmxhome.de/ CENKES |
11 |
MASTER_SITES= SF/${PORTNAME}/latest |
13 |
|
12 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Reversi/Othello clone |
14 |
COMMENT= Reversi/Othello clone |
16 |
|
15 |
|
17 |
USE_GETTEXT= yes |
16 |
OPTIONS= NLS "Native Language Support via gettext utilities" on |
|
|
17 |
|
18 |
LICENSE= GPLv2 GPLv3 |
19 |
LICENSE_COMB= dual |
20 |
|
21 |
USE_GNOME= gnomehack |
22 |
USE_AUTOTOOLS= libtool |
18 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
19 |
GNU_CONFIGURE= yes |
24 |
|
20 |
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} \ |
25 |
MAN1= hinversi-cli.1 |
21 |
--disable-static |
26 |
|
22 |
MAN1= hinversi-cli.1 |
27 |
.include <bsd.port.pre.mk> |
|
|
28 |
|
29 |
.if defined(WITHOUT_NLS) |
30 |
CONFIGURE_ARGS+=--disable-nls |
31 |
PLIST_SUB+= NLS="@comment " |
32 |
.else |
33 |
USE_GETTEXT= yes |
34 |
CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE} |
35 |
PLIST_SUB+= NLS="" |
36 |
.endif |
23 |
|
37 |
|
24 |
post-patch: |
38 |
post-patch: |
25 |
@${REINPLACE_CMD} -e '/^mkdir_p/s|=.*|=$$(mkinstalldirs)|'\ |
39 |
.for file in cgi/Makefile.in human-cli/Makefile.in lib/Makefile.in |
26 |
${WRKSRC}/po/Makefile.in.in |
40 |
@${REINPLACE_CMD} -e \ |
27 |
@${REINPLACE_CMD} -e '/^pkgconfigdir/s|=.*|=${PREFIX}/libdata/pkgconfig|'\ |
41 |
'/AM_CFLAGS/s|-O3|| ; \ |
28 |
${WRKSRC}/lib/Makefile.in |
42 |
/_la_LIBADD/s|=$$|= $$(LTLIBINTL)|' ${WRKSRC}/${file} |
|
|
43 |
.endfor |
29 |
|
44 |
|
30 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.post.mk> |