From 432adc9180cd850461855f5f5c44480188a7728d Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Fri, 9 May 2014 16:57:57 +0000 Subject: [PATCH] - Add staging support - Fix shebang in japana - Unmute install commands --- japanese/japana/Makefile | 20 ++++++++++++-------- 1 file 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