diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-09 19:14:14 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-09 19:14:14 +0000 |
commit | c2d9a6a0619c179e9acd8b1ecac739ebfddbb2c8 (patch) | |
tree | 3f340cd682df7734414b4c46c24af4050f55ed95 /japanese | |
parent | - Update to 0.26 (diff) |
- Add staging support
- Define DOCS option
Notes
Notes:
svn path=/head/; revision=353501
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/kanjipad/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/japanese/kanjipad/Makefile b/japanese/kanjipad/Makefile index 41fc72b006fa..7f8c4058c953 100644 --- a/japanese/kanjipad/Makefile +++ b/japanese/kanjipad/Makefile @@ -20,15 +20,14 @@ PORTDOCS= README PLIST_FILES= bin/kanjipad bin/kpengine %%DATADIR%%/jdata.dat PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/kanjipad ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/kpengine ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/jdata.dat ${DATADIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/kanjipad ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/kpengine ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/jdata.dat ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |