aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-15 02:54:12 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-15 02:54:12 +0000
commit6cd9f36faebd492af4d4539af067ccee387405aa (patch)
treefb5de25a29186f1d523821e89db58af69011e3d7 /japanese
parentdc79c304d703671905e0bce7b4fea1779efe4731 (diff)
downloadports-6cd9f36faebd492af4d4539af067ccee387405aa.tar.gz
ports-6cd9f36faebd492af4d4539af067ccee387405aa.zip
Notes
Diffstat (limited to 'japanese')
-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