diff options
author | pawel <pawel@FreeBSD.org> | 2014-05-10 00:57:57 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-05-10 00:57:57 +0800 |
commit | 4ea7b11baee9541fe6a47885d829b795d41aa5a9 (patch) | |
tree | eb5a477317130d1921b3f6058182db8b380414bf /japanese/japana/Makefile | |
parent | a8f4b5b9291d0199e201530516fc92bc01b138ae (diff) | |
download | freebsd-ports-gnome-4ea7b11baee9541fe6a47885d829b795d41aa5a9.tar.gz freebsd-ports-gnome-4ea7b11baee9541fe6a47885d829b795d41aa5a9.tar.zst freebsd-ports-gnome-4ea7b11baee9541fe6a47885d829b795d41aa5a9.zip |
- Add staging support
- Fix shebang in japana
- Unmute install commands
Diffstat (limited to 'japanese/japana/Makefile')
-rw-r--r-- | japanese/japana/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/japanese/japana/Makefile b/japanese/japana/Makefile index f4a593de1a63..e85a2af8004e 100644 --- a/japanese/japana/Makefile +++ b/japanese/japana/Makefile @@ -3,6 +3,7 @@ PORTNAME= japana PORTVERSION= 2.0.6 +PORTREVISION= 1 CATEGORIES= japanese www MASTER_SITES= SF @@ -13,17 +14,20 @@ RUN_DEPENDS= *p5-Text-Kakasi>=2:${PORTSDIR}/japanese/p5-Text-Kakasi \ p5-AppConfig>=0:${PORTSDIR}/devel/p5-AppConfig \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww -USES= perl5 -MAN1= ${PORTNAME}.1 -PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.default +USES= perl5 shebangfix +SHEBANG_FILES= japana + +PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.default \ + man/man1/${PORTNAME}.1.gz -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/${PORTNAME}* ${WRKSRC}/default.conf + @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \ + ${WRKSRC}/${PORTNAME}* ${WRKSRC}/default.conf do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/ - @${INSTALL_DATA} ${WRKSRC}/default.conf ${PREFIX}/etc/${PORTNAME}.conf.default + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/default.conf \ + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.default .include <bsd.port.mk> |