From 01ae6692974ba58b92c2c8ff23c81c05b7922978 Mon Sep 17 00:00:00 2001 From: makc Date: Mon, 14 Jun 2010 18:25:59 +0000 Subject: Add OPTIONS: FRIBIDI - bi-directional unicode support SERVER - build the index and game servers PR: ports/147733 Submitted by: Demelier David --- games/warmux/Makefile | 20 ++++++++++++++++++++ games/warmux/pkg-plist | 2 ++ 2 files changed, 22 insertions(+) (limited to 'games/warmux') diff --git a/games/warmux/Makefile b/games/warmux/Makefile index 91dbac2963c0..88170ef8dea1 100644 --- a/games/warmux/Makefile +++ b/games/warmux/Makefile @@ -28,6 +28,12 @@ USE_DOS2UNIX= fixed_class.h MANCOMPRESSED= no MAN6= wormux.6 +OPTIONS+= NLS "Native Language Support via gettext utilities" on \ + FRIBIDI "Enable bi-directional unicode support" off \ + SERVER "Enable dedicated server" off + +.include + post-patch: ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in \ ${WRKSRC}/src/Makefile.in @@ -43,4 +49,18 @@ CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif +.if defined(WITH_SERVER) +PLIST_SUB+= SERVER="" +CONFIGURE_ARGS+= --enable-servers +.else +PLIST_SUB+= SERVER="@comment " +.endif + +.if defined(WITH_FRIBIDI) +LIB_DEPENDS+= fribidi:${PORTSDIR}/converters/fribidi +CONFIGURE_ARGS+= --enable-fribidi +.else +CONFIGURE_ARGS+= --disable-fribidi +.endif + .include diff --git a/games/warmux/pkg-plist b/games/warmux/pkg-plist index a8c153e19e82..09b686026baf 100644 --- a/games/warmux/pkg-plist +++ b/games/warmux/pkg-plist @@ -1,5 +1,7 @@ bin/wormux +%%SERVER%%bin/wormux-index-server bin/wormux-list-games +%%SERVER%%bin/wormux-server share/applications/wormux.desktop %%NLS%%share/locale/bg/LC_MESSAGES/wormux.mo %%NLS%%share/locale/bs/LC_MESSAGES/wormux.mo -- cgit c-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,linimon2011-07-211-1/+1