aboutsummaryrefslogtreecommitdiffstats
path: root/games/warmux
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-10-23 21:08:41 +0800
committermakc <makc@FreeBSD.org>2013-10-23 21:08:41 +0800
commit257d95e619d504625a3dd72269614d7fe350704c (patch)
tree902ae1e48303d70f1045908f9eb477d7722924c8 /games/warmux
parent4db462c2d32f9526ce9940e28a4b22915d0982f5 (diff)
downloadfreebsd-ports-gnome-257d95e619d504625a3dd72269614d7fe350704c.tar.gz
freebsd-ports-gnome-257d95e619d504625a3dd72269614d7fe350704c.tar.zst
freebsd-ports-gnome-257d95e619d504625a3dd72269614d7fe350704c.zip
- Support staging
- Use new LIB_DEPENDS syntax - Use options helpers - Convert to USES - Minor changes/fixes
Diffstat (limited to 'games/warmux')
-rw-r--r--games/warmux/Makefile10
-rw-r--r--games/warmux/pkg-plist1
2 files changed, 4 insertions, 7 deletions
diff --git a/games/warmux/Makefile b/games/warmux/Makefile
index 6faeff391f3f..666eae647d74 100644
--- a/games/warmux/Makefile
+++ b/games/warmux/Makefile
@@ -11,8 +11,8 @@ MASTER_SITES= http://download.gna.org/${PORTNAME}/ \
MAINTAINER= makc@FreeBSD.org
COMMENT= Turn-based artillery game with free software mascots
-LIB_DEPENDS= xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \
- curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 \
+ libcurl.so:${PORTSDIR}/ftp/curl
CONFLICTS_INSTALL= wormux-*
@@ -22,16 +22,12 @@ USES= gmake pkgconfig
USE_SDL= sdl image mixer ttf gfx net
USE_DOS2UNIX= fixed_class.h
-MANCOMPRESSED= no
-MAN6= warmux.6
-
OPTIONS_DEFINE= FRIBIDI SERVER NLS DEBUG
FRIBIDI_DESC= Enable bi-directional unicode support
SERVER_DESC= Enable dedicated server
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:R}
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -63,7 +59,7 @@ PLIST_SUB+= SERVER="@comment "
.endif
.if ${PORT_OPTIONS:MFRIBIDI}
-LIB_DEPENDS+= fribidi:${PORTSDIR}/converters/fribidi
+LIB_DEPENDS+= libfribidi.so:${PORTSDIR}/converters/fribidi
CONFIGURE_ARGS+= --enable-fribidi
.else
CONFIGURE_ARGS+= --disable-fribidi
diff --git a/games/warmux/pkg-plist b/games/warmux/pkg-plist
index 17a10cd25c37..a9c8fe79f713 100644
--- a/games/warmux/pkg-plist
+++ b/games/warmux/pkg-plist
@@ -2,6 +2,7 @@ bin/warmux
%%SERVER%%bin/warmux-index-server
bin/warmux-list-games
%%SERVER%%bin/warmux-server
+man/man6/warmux.6.gz
share/applications/warmux.desktop
%%NLS%%share/locale/bg/LC_MESSAGES/warmux.mo
%%NLS%%share/locale/bs/LC_MESSAGES/warmux.mo