summaryrefslogtreecommitdiffstats
path: root/japanese/today/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/today/Makefile')
-rw-r--r--japanese/today/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/japanese/today/Makefile b/japanese/today/Makefile
index e6b0b5a..9a6d1fb 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>
OpenPOWER on IntegriCloud