Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2014 16:57:57 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353478 - head/japanese/japana
Message-ID:  <201405091657.s49Gvvph062310@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri May  9 16:57:57 2014
New Revision: 353478
URL: http://svnweb.freebsd.org/changeset/ports/353478
QAT: https://qat.redports.org/buildarchive/r353478/

Log:
  - Add staging support
  - Fix shebang in japana
  - Unmute install commands

Modified:
  head/japanese/japana/Makefile

Modified: head/japanese/japana/Makefile
==============================================================================
--- head/japanese/japana/Makefile	Fri May  9 16:46:24 2014	(r353477)
+++ head/japanese/japana/Makefile	Fri May  9 16:57:57 2014	(r353478)
@@ -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:${PORTSD
 		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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405091657.s49Gvvph062310>