aboutsummaryrefslogtreecommitdiff
path: root/games/katawa-shoujo
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-02-16 08:12:16 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-02-16 08:12:16 +0000
commit67088d05cbdbb4829a2d79707d9793554c2fdefa (patch)
tree15b7fb4d0adb0bb984e8f54f15f7f12e613d3f39 /games/katawa-shoujo
parentb23728f30be7eb77538a2c07aca930a2a76feca3 (diff)
downloadports-67088d05cbdbb4829a2d79707d9793554c2fdefa.tar.gz
ports-67088d05cbdbb4829a2d79707d9793554c2fdefa.zip
Notes
Diffstat (limited to 'games/katawa-shoujo')
-rw-r--r--games/katawa-shoujo/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/games/katawa-shoujo/Makefile b/games/katawa-shoujo/Makefile
index d43c9792f107..c7942a4ea0fe 100644
--- a/games/katawa-shoujo/Makefile
+++ b/games/katawa-shoujo/Makefile
@@ -27,7 +27,7 @@ NO_BUILD= yes
INSTALLS_ICONS= yes
WRKSRC= ${WRKDIR}/Katawa\ Shoujo-linux-x86
PORTDATA= *
-PORTDOCS= *
+PORTDOCS= *.pdf
PLIST_FILES= bin/${PORTNAME} \
share/icons/hicolor/48x48/apps/${PORTNAME}.png \
share/icons/hicolor/256x256/apps/${PORTNAME}.png
@@ -43,8 +43,6 @@ OPTIONS_DEFINE= DOCS
MANUAL_PACKAGE_BUILD= huge (470MiB)
-.include <bsd.port.options.mk>
-
pre-install:
${PRINTF} '#! /bin/sh\nrenpy ${DATADIR} "$$@"\n' \
>${WRKDIR}/${PORTNAME}
@@ -56,11 +54,8 @@ do-install:
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${i}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/${PORTNAME}.png
.endfor
- ${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/game && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/*.pdf ${STAGEDIR}${DOCSDIR}
-.endif
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} \
+ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>