Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 09:39:47 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346304 - head/sysutils/jx
Message-ID:  <201402270939.s1R9dlCK061938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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