svn commit: r358228 - head/math/bargraph

Vanilla I. Shu vanilla at FreeBSD.org
Wed Jun 18 07:43:49 UTC 2014


Author: vanilla
Date: Wed Jun 18 07:43:49 2014
New Revision: 358228
URL: http://svnweb.freebsd.org/changeset/ports/358228
QAT: https://qat.redports.org/buildarchive/r358228/

Log:
  1: Stagify.
  2: add USES=perl5
  
  Approved by:	portmgr@

Modified:
  head/math/bargraph/Makefile

Modified: head/math/bargraph/Makefile
==============================================================================
--- head/math/bargraph/Makefile	Wed Jun 18 07:43:24 2014	(r358227)
+++ head/math/bargraph/Makefile	Wed Jun 18 07:43:49 2014	(r358228)
@@ -17,23 +17,22 @@ LICENSE=	GPLv2
 RUN_DEPENDS=	${LOCALBASE}/bin/fig2dev:${PORTSDIR}/print/transfig \
 		${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
 
+USES=		perl5 shebangfix
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+SHEBANG_FILES=	bargraph.pl
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/bargraph.pl ${PREFIX}/bin/bargraph
+	${INSTALL_SCRIPT} ${WRKSRC}/bargraph.pl ${STAGEDIR}${PREFIX}/bin/bargraph
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 .endif
 .if !defined (NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR}
-	${CP} ${WRKSRC}/samples/*.perf  ${WRKSRC}/samples/*.png ${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${CP} ${WRKSRC}/samples/*.perf  ${WRKSRC}/samples/*.png ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list