svn commit: r346304 - head/sysutils/jx

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 27 09:39:47 UTC 2014


Author: ehaupt
Date: Thu Feb 27 09:39:46 2014
New Revision: 346304
URL: http://svnweb.freebsd.org/changeset/ports/346304
QAT: https://qat.redports.org/buildarchive/r346304/

Log:
  Support staging

Modified:
  head/sysutils/jx/Makefile

Modified: head/sysutils/jx/Makefile
==============================================================================
--- head/sysutils/jx/Makefile	Thu Feb 27 09:32:24 2014	(r346303)
+++ head/sysutils/jx/Makefile	Thu Feb 27 09:39:46 2014	(r346304)
@@ -13,15 +13,11 @@ USES=		perl5
 NO_BUILD=	yes
 USE_PERL5=	run
 
-PLIST_FILES=	bin/${PORTNAME}
-
-MAN1=		jx.1
-MANCOMPRESSED=	yes
+PLIST_FILES=	bin/jx man/man1/jx.1.gz
 
 OPTIONS_DEFINE=	CONFIG
 CONFIG_DESC=	Enable custom config (recuire Config::General)
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCONFIG}
@@ -35,10 +31,12 @@ post-patch:
 .endif
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${PREFIX}/man/man1/${PORTNAME}.1.gz
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${STAGEDIR}${PREFIX}/man/man1
 .if ${PORT_OPTIONS:MCONFIG}
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg.sample ${PREFIX}/etc/${PORTNAME}.cfg.sample
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg.sample \
+		${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.sample
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list