aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/leafrogue
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-15 10:54:12 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-15 10:54:12 +0800
commit67996df881ba412c38047c62fa97cc320822c2bf (patch)
treefb5de25a29186f1d523821e89db58af69011e3d7 /japanese/leafrogue
parent1ef8013cb274650dacf5ec15be2face7cf1c71d7 (diff)
downloadfreebsd-ports-gnome-67996df881ba412c38047c62fa97cc320822c2bf.tar.gz
freebsd-ports-gnome-67996df881ba412c38047c62fa97cc320822c2bf.tar.zst
freebsd-ports-gnome-67996df881ba412c38047c62fa97cc320822c2bf.zip
Stagify.
Diffstat (limited to 'japanese/leafrogue')
-rw-r--r--japanese/leafrogue/Makefile15
-rw-r--r--japanese/leafrogue/pkg-plist2
2 files changed, 7 insertions, 10 deletions
diff --git a/japanese/leafrogue/Makefile b/japanese/leafrogue/Makefile
index 9e76ec81f1f4..7be493e01092 100644
--- a/japanese/leafrogue/Makefile
+++ b/japanese/leafrogue/Makefile
@@ -15,19 +15,16 @@ RUN_DEPENDS= rogue_s:${PORTSDIR}/japanese/rogue_s
WRKSRC= ${WRKDIR}/lf_rogue
NO_BUILD= yes
-
DOC_FILES= readme.txt lf_rogue.html lf_rogue.txt guide.tex guide.txt
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- ${MKDIR} ${PREFIX}/share/rogue
- ${INSTALL_DATA} ${WRKSRC}/leaf.msg ${PREFIX}/share/rogue
- ${INSTALL_SCRIPT} ${FILESDIR}/leafrogue ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/rogue
+ ${INSTALL_DATA} ${WRKSRC}/leaf.msg ${STAGEDIR}${PREFIX}/share/rogue
+ ${INSTALL_SCRIPT} ${FILESDIR}/leafrogue ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
for file in ${DOC_FILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/"$$file" ${DOCSDIR} ; \
+ ${INSTALL_DATA} ${WRKSRC}/"$$file" ${STAGEDIR}${DOCSDIR} ; \
done
-.endif
.include <bsd.port.mk>
diff --git a/japanese/leafrogue/pkg-plist b/japanese/leafrogue/pkg-plist
index a523e4472acc..f820830c0697 100644
--- a/japanese/leafrogue/pkg-plist
+++ b/japanese/leafrogue/pkg-plist
@@ -1,9 +1,9 @@
bin/leafrogue
share/rogue/leaf.msg
-@dirrmtry share/rogue
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
%%PORTDOCS%%%%DOCSDIR%%/lf_rogue.html
%%PORTDOCS%%%%DOCSDIR%%/lf_rogue.txt
%%PORTDOCS%%%%DOCSDIR%%/guide.tex
%%PORTDOCS%%%%DOCSDIR%%/guide.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/rogue