View | Details | Raw Unified | Return to bug 147733
Collapse All | Expand All

(-)Makefile (-1 / +21 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	wormux
8
PORTNAME=	wormux
9
DISTVERSION=	0.9.2.1
9
DISTVERSION=	0.9.2.1
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://download.gna.org/wormux/ \
12
MASTER_SITES=	http://download.gna.org/wormux/ \
13
		http://download.gna.org/wormux/archive/
13
		http://download.gna.org/wormux/archive/
Lines 28-33 Link Here
28
MANCOMPRESSED=	no
28
MANCOMPRESSED=	no
29
MAN6=	wormux.6
29
MAN6=	wormux.6
30
30
31
OPTIONS+=       NLS "Native Language Support via gettext utilities" on \
32
		FRIBIDI "Enable bi-directional unicode support" off \
33
                SERVER "Enable dedicated server" off
34
35
.include <bsd.port.options.mk>
36
31
post-patch:
37
post-patch:
32
	${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in \
38
	${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in \
33
	${WRKSRC}/src/Makefile.in
39
	${WRKSRC}/src/Makefile.in
Lines 43-46 Link Here
43
PLIST_SUB+=	NLS="@comment "
49
PLIST_SUB+=	NLS="@comment "
44
.endif
50
.endif
45
51
52
.if defined(WITH_SERVER)
53
PLIST_SUB+=     SERVER=""
54
CONFIGURE_ARGS+=        --enable-servers
55
.else
56
PLIST_SUB+=     SERVER="@comment "
57
.endif
58
59
.if defined(WITH_FRIBIDI)
60
LIB_DEPENDS+=	fribidi:${PORTSDIR}/converters/fribidi
61
CONFIGURE_ARGS+=	--enable-fribidi
62
.else
63
CONFIGURE_ARGS+=	--disable-fribidi
64
.endif
65
46
.include <bsd.port.mk>
66
.include <bsd.port.mk>
(-)pkg-plist (+2 lines)
Lines 1-5 Link Here
1
bin/wormux
1
bin/wormux
2
bin/wormux-list-games
2
bin/wormux-list-games
3
%%SERVER%%bin/wormux-index-server
4
%%SERVER%%bin/wormux-server
3
share/applications/wormux.desktop
5
share/applications/wormux.desktop
4
%%NLS%%share/locale/bg/LC_MESSAGES/wormux.mo
6
%%NLS%%share/locale/bg/LC_MESSAGES/wormux.mo
5
%%NLS%%share/locale/bs/LC_MESSAGES/wormux.mo
7
%%NLS%%share/locale/bs/LC_MESSAGES/wormux.mo

Return to bug 147733