diff options
author | makc <makc@FreeBSD.org> | 2013-05-12 19:48:49 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-05-12 19:48:49 +0800 |
commit | 42c3e01f07107a7ded656f841e10cae90815ea5d (patch) | |
tree | fcff4e051f035837ff7cab73432d274b96171613 /games/warmux/Makefile | |
parent | c2b64d94e19f83563bdf4236c8047c64f184ed69 (diff) | |
download | freebsd-ports-gnome-42c3e01f07107a7ded656f841e10cae90815ea5d.tar.gz freebsd-ports-gnome-42c3e01f07107a7ded656f841e10cae90815ea5d.tar.zst freebsd-ports-gnome-42c3e01f07107a7ded656f841e10cae90815ea5d.zip |
- Add global options (DOCS, NLS, etc) to the OPTIONS_DEFINE and partly revert r315222 [1]
- Convert WITH_DEBUG to new options framework
- Trim Makefile header
- Adjust COMMENTs
- Reformat/update description
[1] See follow-up discussion: http://lists.freebsd.org/pipermail/svn-ports-head/2013-March/016094.html
Diffstat (limited to 'games/warmux/Makefile')
-rw-r--r-- | games/warmux/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/games/warmux/Makefile b/games/warmux/Makefile index a15c193a2ff4..3db9192286f3 100644 --- a/games/warmux/Makefile +++ b/games/warmux/Makefile @@ -1,9 +1,5 @@ -# Ports collection makefile for: wormux -# Date created: Thu Dec 16 18:46:55 EET 2004 -# Whom: Anton Yudin <toha@FreeBSD.org> -# +# Created by: Anton Yudin <toha@FreeBSD.org> # $FreeBSD$ -# PORTNAME= warmux DISTVERSION= 11.04.1 @@ -13,7 +9,7 @@ MASTER_SITES= http://download.gna.org/${PORTNAME}/ \ http://download.gna.org/${PORTNAME}/archive/ MAINTAINER= makc@FreeBSD.org -COMMENT= Wormux game +COMMENT= Turn-based artillery game with free software mascots LIB_DEPENDS= xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \ curl:${PORTSDIR}/ftp/curl @@ -30,7 +26,7 @@ USE_DOS2UNIX= fixed_class.h MANCOMPRESSED= no MAN6= warmux.6 -OPTIONS_DEFINE= FRIBIDI SERVER NLS +OPTIONS_DEFINE= FRIBIDI SERVER NLS DEBUG FRIBIDI_DESC= Enable bi-directional unicode support SERVER_DESC= Enable dedicated server @@ -44,7 +40,7 @@ post-patch: ${REINPLACE_CMD} -e "s,warmux_files.desktop,," ${WRKSRC}/data/Makefile.in ${FIND} -d ${WRKSRC}/data/ -name "*.*~" -delete -.if defined(WITH_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug \ --enable-logging .endif |