aboutsummaryrefslogtreecommitdiff
path: root/games/syobon/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-08-25 21:45:11 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-08-25 21:45:11 +0000
commitc35dc5c549a96e6414d29cdb81f813896be56faf (patch)
tree19965f641e966c369feedabd78a8e3c5d640622a /games/syobon/Makefile
parente691f9c2673b799bd1b9043ec43af832e6cec1e7 (diff)
downloadports-c35dc5c549a96e6414d29cdb81f813896be56faf.tar.gz
ports-c35dc5c549a96e6414d29cdb81f813896be56faf.zip
Notes
Diffstat (limited to 'games/syobon/Makefile')
-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