diff options
author | Alex Kozlov <ak@FreeBSD.org> | 2012-06-25 04:15:50 +0000 |
---|---|---|
committer | Alex Kozlov <ak@FreeBSD.org> | 2012-06-25 04:15:50 +0000 |
commit | 61ccb75449e934ce15c362e836abe764660824ab (patch) | |
tree | 58e4fc161366f0687e7bcdae86fd5ab3e027ca0c /games | |
parent | 092a8d14ba5861f91eb4a45e1d86172975728463 (diff) | |
download | ports-61ccb75449e934ce15c362e836abe764660824ab.tar.gz ports-61ccb75449e934ce15c362e836abe764660824ab.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/evilfinder/Makefile | 12 | ||||
-rw-r--r-- | games/lordsawar/Makefile | 25 |
2 files changed, 15 insertions, 22 deletions
diff --git a/games/evilfinder/Makefile b/games/evilfinder/Makefile index 096209bcf476..7cfe70a0940b 100644 --- a/games/evilfinder/Makefile +++ b/games/evilfinder/Makefile @@ -18,11 +18,15 @@ COMMENT= Numerologically determine the evilness of things WRKSRC= ${WRKDIR}/${PORTNAME} -OPTIONS= WRAPPER "Evilfinder local wrapper" on +OPTIONS_DEFINE= WRAPPER -.include <bsd.port.pre.mk> +WRAPPER_DESC= Evilfinder local wrapper -.if !defined(WITHOUT_WRAPPER) +OPTIONS_DEFAULT= WRAPPER + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MWRAPPER} RUN_DEPENDS+= lynx:${PORTSDIR}/www/lynx PLIST_SUB+= WRAPPER="" .else @@ -55,4 +59,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/games/lordsawar/Makefile b/games/lordsawar/Makefile index f16782627697..1882aac506ae 100644 --- a/games/lordsawar/Makefile +++ b/games/lordsawar/Makefile @@ -15,36 +15,25 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ak@FreeBSD.org COMMENT= A Warlords II clone -LIB_DEPENDS= glademm-2.4:${PORTSDIR}/devel/libglademm24 \ - gnet-2.0:${PORTSDIR}/net/gnet2 \ - uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \ - tar.0:${PORTSDIR}/devel/libtar +LICENSE= GPLv3 + +LIB_DEPENDS= glademm-2:${PORTSDIR}/devel/libglademm24 \ + gnet-2:${PORTSDIR}/net/gnet2 \ + uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \ + tar:${PORTSDIR}/devel/libtar BUILD_DEPENDS= bjam:${PORTSDIR}/devel/boost-jam \ ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs USE_GETTEXT= yes -USE_GCC= 4.2+ USE_GMAKE= yes USE_GNOME= intltool -USE_SDL= sdl image +USE_SDL= sdl image mixer GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes -LICENSE= GPLv3 - -OPTIONS= SOUND "Enable sound" on - -.include <bsd.port.options.mk> - CONFIGURE_ARGS+=--disable-nls \ --with-boost-includedir=${LOCALBASE}/include/ -.if !defined(WITHOUT_SOUND) -USE_SDL+= mixer -.else -CONFIGURE_ARGS+=--disable-sound -.endif - CONFIGURE_ENV+= LIBS="${PTHREAD_LIBS}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib |