aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-18 18:05:06 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-18 18:05:06 +0800
commit72783999cacb9046b81003fe233ce547c6f38916 (patch)
tree55df8af67803cceef312e9a5519c7e47a64dd1b3 /games
parent15cfc18e82590241efd1a4d769f87eb4402218f2 (diff)
downloadfreebsd-ports-gnome-72783999cacb9046b81003fe233ce547c6f38916.tar.gz
freebsd-ports-gnome-72783999cacb9046b81003fe233ce547c6f38916.tar.zst
freebsd-ports-gnome-72783999cacb9046b81003fe233ce547c6f38916.zip
- Enable LUA by default
- Unconditionally verbosify build PR: 211886 Submitted by: lifanov@mail.lifanov.com (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/stonesoup/Makefile15
-rw-r--r--games/stonesoup/pkg-plist10
2 files changed, 12 insertions, 13 deletions
diff --git a/games/stonesoup/Makefile b/games/stonesoup/Makefile
index 401db7bcab2c..238b43da65db 100644
--- a/games/stonesoup/Makefile
+++ b/games/stonesoup/Makefile
@@ -3,6 +3,7 @@
PORTNAME= stonesoup
PORTVERSION= 0.18.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/crawl-ref/Stone%20Soup/${PORTVERSION}
MASTER_SITES= http://crawl.develz.org/release/
@@ -39,13 +40,11 @@ MAKE_ARGS= prefix=${PREFIX} \
NO_TRY_GOLD=YesPlease \
POSIX=YesPlease \
SQLITE_INCLUDE_DIR=${LOCALBASE}/include \
- SQLITE_LIB=-lsqlite3
-
-.if defined(VERBOSE)
-MAKE_ARGS+= V=yes
-.endif
+ SQLITE_LIB=-lsqlite3 \
+ V=yes
OPTIONS_DEFINE= SDL SOUND NOWIZARD LUA DOCS EXAMPLES
+OPTIONS_DEFAULT=LUA
OPTIONS_SUB= yes
SOUND_DESC= Sound support
@@ -89,13 +88,13 @@ post-patch-SOUND-off:
@${REINPLACE_CMD} -e "s,%%SOUND%%,// ," ${WRKSRC}/AppHdr.h
pre-install:
- @${FIND} ${WRKSRC}/dat -type f -name '*.orig' | \
- ${XARGS} ${RM}
+ @${FIND} ${WRKSRC}/dat -type f -name '*.orig' -delete
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR}
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${STAGEDIR}${DATADIR}/settings/init.txt ${STAGEDIR}${EXAMPLESDIR}/sample.crawlrc
diff --git a/games/stonesoup/pkg-plist b/games/stonesoup/pkg-plist
index ce18e1d70b3d..1db6330b59b5 100644
--- a/games/stonesoup/pkg-plist
+++ b/games/stonesoup/pkg-plist
@@ -1,11 +1,11 @@
bin/stonesoup
%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.crawlrc
-%%DATADIR%%/dat/clua/autofight.lua
-%%DATADIR%%/dat/clua/automagic.lua
-%%DATADIR%%/dat/clua/kills.lua
-%%DATADIR%%/dat/clua/runrest.lua
-%%DATADIR%%/dat/clua/stash.lua
+%%LUA%%%%DATADIR%%/dat/clua/autofight.lua
+%%LUA%%%%DATADIR%%/dat/clua/automagic.lua
+%%LUA%%%%DATADIR%%/dat/clua/kills.lua
+%%LUA%%%%DATADIR%%/dat/clua/runrest.lua
+%%LUA%%%%DATADIR%%/dat/clua/stash.lua
%%DATADIR%%/dat/database/FAQ.txt
%%DATADIR%%/dat/database/el/monflee.txt
%%DATADIR%%/dat/database/el/rand_all.txt