From 61ccb75449e934ce15c362e836abe764660824ab Mon Sep 17 00:00:00 2001 From: Alex Kozlov Date: Mon, 25 Jun 2012 04:15:50 +0000 Subject: - Convert to optionsNG - Pet portlint - Remove pkg-plist from security/dropbear Approved by: eadler (mentor) --- games/evilfinder/Makefile | 12 ++++++++---- games/lordsawar/Makefile | 25 +++++++------------------ 2 files changed, 15 insertions(+), 22 deletions(-) (limited to 'games') 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 +WRAPPER_DESC= Evilfinder local wrapper -.if !defined(WITHOUT_WRAPPER) +OPTIONS_DEFAULT= WRAPPER + +.include + +.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 +.include 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 - 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 -- cgit v1.2.3