diff options
author | pawel <pawel@FreeBSD.org> | 2014-05-17 21:09:53 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-05-17 21:09:53 +0800 |
commit | ed9ba4157397813fdea61c82c23687113ef12baa (patch) | |
tree | 3afe27f9966442711da4b157242806009fa546dc /japanese/today | |
parent | 22488d2873c47011835b9e4a7390533b04a49e90 (diff) | |
download | freebsd-ports-graphics-ed9ba4157397813fdea61c82c23687113ef12baa.tar.gz freebsd-ports-graphics-ed9ba4157397813fdea61c82c23687113ef12baa.tar.zst freebsd-ports-graphics-ed9ba4157397813fdea61c82c23687113ef12baa.zip |
- Add staging support
- Convert to new options framework
Diffstat (limited to 'japanese/today')
-rw-r--r-- | japanese/today/Makefile | 9 | ||||
-rw-r--r-- | japanese/today/files/Makefile | 12 |
2 files changed, 10 insertions, 11 deletions
diff --git a/japanese/today/Makefile b/japanese/today/Makefile index e6b0b5aea0f..9a6d1fbfd13 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> diff --git a/japanese/today/files/Makefile b/japanese/today/files/Makefile index 7234d1aab5e..bdd594962fa 100644 --- a/japanese/today/files/Makefile +++ b/japanese/today/files/Makefile @@ -23,12 +23,12 @@ OBJS_CAL = calendar.o $(OBJSC1) all: today calendar dayinfo install: today calendar dayinfo - ${BSD_INSTALL_PROGRAM} today ${PREFIX}/bin/today - ${BSD_INSTALL_PROGRAM} calendar ${PREFIX}/bin/calendar-today - ${BSD_INSTALL_PROGRAM} dayinfo ${PREFIX}/bin/dayinfo - ${BSD_INSTALL_DATA} today.cnf ${PREFIX}/etc - mkdir -p ${PREFIX}/share/today - ${BSD_INSTALL_DATA} *.tbl ${PREFIX}/share/today + ${BSD_INSTALL_PROGRAM} today ${DESTDIR}${PREFIX}/bin/today + ${BSD_INSTALL_PROGRAM} calendar ${DESTDIR}${PREFIX}/bin/calendar-today + ${BSD_INSTALL_PROGRAM} dayinfo ${DESTDIR}${PREFIX}/bin/dayinfo + ${BSD_INSTALL_DATA} today.cnf ${DESTDIR}${PREFIX}/etc + mkdir -p ${DESTDIR}${PREFIX}/share/today + ${BSD_INSTALL_DATA} *.tbl ${DESTDIR}${PREFIX}/share/today # mkdir -p ${PREFIX}/share/doc/ja/today # ${BSD_INSTALL_DATA} today.doc ${PREFIX}/share/doc/ja/today |