diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-17 13:09:53 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-17 13:09:53 +0000 |
commit | b1f33f2ceb8721ae51cfa4448a703b64e26f186d (patch) | |
tree | 3afe27f9966442711da4b157242806009fa546dc /japanese/today/Makefile | |
parent | 54c337b7de47cb1515bbe344b1be44b8d4aee530 (diff) |
- Add staging support
- Convert to new options framework
Notes
Notes:
svn path=/head/; revision=354319
Diffstat (limited to 'japanese/today/Makefile')
-rw-r--r-- | japanese/today/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/japanese/today/Makefile b/japanese/today/Makefile index e6b0b5aea0f3..9a6d1fbfd13a 100644 --- a/japanese/today/Makefile +++ b/japanese/today/Makefile @@ -19,7 +19,8 @@ USES= lha MAKEFILE= ${FILESDIR}/Makefile -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-extract: @(cd ${WRKSRC}; lha xiqf utility.lzh src/dayinfo.c ) @${ECHO_MSG} "===> Extracting tbl file for ${DISTNAME}" @@ -38,9 +39,7 @@ post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/*.cnf post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/today.doc ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/today.doc ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |