aboutsummaryrefslogtreecommitdiffstats
path: root/games/moagg
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2012-08-20 01:07:55 +0800
committermadpilot <madpilot@FreeBSD.org>2012-08-20 01:07:55 +0800
commit3cdef40963702f5b7ed46fd03ab09d36b71ddb4c (patch)
treea9d9081d51bf8c3e9017eeca5e9340d34cdf31bc /games/moagg
parent5d3022fb38669b953040dda1ed42fd93ba5466c8 (diff)
downloadfreebsd-ports-gnome-3cdef40963702f5b7ed46fd03ab09d36b71ddb4c.tar.gz
freebsd-ports-gnome-3cdef40963702f5b7ed46fd03ab09d36b71ddb4c.tar.zst
freebsd-ports-gnome-3cdef40963702f5b7ed46fd03ab09d36b71ddb4c.zip
- Remove own OPTION "DATA"
- Honour NOPORTDATA instead of own option PR: ports/170736 Submitted by: nemysis <nemysis@gmx.ch> (maintainer) Approved by: crees, tabthorpe (mentors, implicit)
Diffstat (limited to 'games/moagg')
-rw-r--r--games/moagg/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/games/moagg/Makefile b/games/moagg/Makefile
index 3ec8bcb4373d..a2fc876f9519 100644
--- a/games/moagg/Makefile
+++ b/games/moagg/Makefile
@@ -20,9 +20,6 @@ COMMENT= Pilot a small space ship
LICENSE= GPLv2
-OPTIONS_DEFINE= DATA
-OPTIONS_DEFAULT= DATA
-
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
@@ -47,7 +44,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/run.sh.new ${PREFIX}/bin/${PORTNAME}
# Data
-.if ${PORT_OPTIONS:MDATA}
+.if !defined (NOPORTDATA)
${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data ghosts jar" ${DATADIR})
. for d in hiscores.dat log4j.properties