aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-09-07 00:00:57 +0800
committerdanfe <danfe@FreeBSD.org>2013-09-07 00:00:57 +0800
commit8aa1b67371103c82357c8711e9ec7b968c2a78b9 (patch)
tree32c6cde3f768028b79dbd3e7604fcab14cda0979 /games
parent37d16f354875f277036ce806972774ab4e1dc3ea (diff)
downloadfreebsd-ports-gnome-8aa1b67371103c82357c8711e9ec7b968c2a78b9.tar.gz
freebsd-ports-gnome-8aa1b67371103c82357c8711e9ec7b968c2a78b9.tar.zst
freebsd-ports-gnome-8aa1b67371103c82357c8711e9ec7b968c2a78b9.zip
- Move NO_PACKAGE higher, where it's usually expected to be found
- Convert USE_GMAKE and modernize LIB_DEPENDS while I'm here
Diffstat (limited to 'games')
-rw-r--r--games/worldofpadman/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/worldofpadman/Makefile b/games/worldofpadman/Makefile
index 046788ca985e..5a4bcdd502ed 100644
--- a/games/worldofpadman/Makefile
+++ b/games/worldofpadman/Makefile
@@ -16,11 +16,12 @@ EXTRACT_ONLY= worldofpadman.run \
MAINTAINER= ports@FreeBSD.org
COMMENT= Open source FPS game inspired by the Padman comic strip
+NO_PACKAGE= package will be ~600MB; set FORCE_PACKAGE if you really want it
+
+USES= gmake
USE_MAKESELF= yes
-USE_GMAKE= yes
MAKE_ENV= DEFAULT_BASEDIR="${DATADIR}" PTHREAD_LIBS="${PTHREAD_LIBS}"
ALL_TARGET= release
-NO_PACKAGE= package will be ~600MB; set FORCE_PACKAGE if you really want it
SRC_FILE= ${PORTNAME}-${PORTVERSION}
VM_ARCHS= amd64 i386 powerpc
@@ -55,7 +56,7 @@ MAKE_ENV+= HAVE_VM_COMPILED=true
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP_CLIENT}
# cURL
. if ${PORT_OPTIONS:MCURL}
-LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl
MAKE_ENV+= USE_CURL=1
. if ${PORT_OPTIONS:MCURL_DLOPEN}
MAKE_ENV+= USE_CURL_DLOPEN=1
@@ -74,7 +75,7 @@ USE_GL= glu
USE_SDL= sdl
# Vorbis
. if ${PORT_OPTIONS:MVORBIS}
-LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
MAKE_ENV+= USE_CODEC_VORBIS=1
. endif
.endif
@@ -103,7 +104,7 @@ PLIST_SUB+= GAMELIBS="@comment "
.endif
.if ${PORT_OPTIONS:MMP3}
-LIB_DEPENDS+= mad:${PORTSDIR}/audio/libmad
+LIB_DEPENDS+= libmad.so:${PORTSDIR}/audio/libmad
MAKE_ENV+= USE_CODEC_MP3=1
.endif