aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-08-26 05:45:11 +0800
committerjgh <jgh@FreeBSD.org>2012-08-26 05:45:11 +0800
commitfa2af4724aaa644f78f1d2fd99806c9acd6f98b2 (patch)
tree19965f641e966c369feedabd78a8e3c5d640622a /games
parent5780540f407737723feb33b7f3aee0785c8f7cbb (diff)
downloadfreebsd-ports-gnome-fa2af4724aaa644f78f1d2fd99806c9acd6f98b2.tar.gz
freebsd-ports-gnome-fa2af4724aaa644f78f1d2fd99806c9acd6f98b2.tar.zst
freebsd-ports-gnome-fa2af4724aaa644f78f1d2fd99806c9acd6f98b2.zip
- port requires data
- adopt optionsNG for DOCS PR: 170744 Submitted by: maintainer, nemysis@gmx.ch
Diffstat (limited to 'games')
-rw-r--r--games/syobon/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/games/syobon/Makefile b/games/syobon/Makefile
index 05d64bdb1da3..ccba4a3212ff 100644
--- a/games/syobon/Makefile
+++ b/games/syobon/Makefile
@@ -7,6 +7,7 @@
PORTNAME= syobon
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://download.zapek.com/software/${PORTNAME}/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -30,13 +31,18 @@ PORTDATA= *
MAKE_ENV= GAMEDATA="${DATADIR}"
+.include <bsd.port.options.mk>
+
do-install:
+# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDATA)
+
+# Data
${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "BGM SE res" ${DATADIR})
-.endif
-.if !defined(NOPORTDOCS)
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif