Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 11:57:55 +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: r343039 - head/mail/p5-Mail-Graph
Message-ID:  <201402061157.s16BvtDR004415@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb  6 11:57:55 2014
New Revision: 343039
URL: http://svnweb.freebsd.org/changeset/ports/343039
QAT: https://qat.redports.org/buildarchive/r343039/

Log:
  Support staging and use shebangfix.

Modified:
  head/mail/p5-Mail-Graph/Makefile
  head/mail/p5-Mail-Graph/pkg-plist

Modified: head/mail/p5-Mail-Graph/Makefile
==============================================================================
--- head/mail/p5-Mail-Graph/Makefile	Thu Feb  6 11:51:54 2014	(r343038)
+++ head/mail/p5-Mail-Graph/Makefile	Thu Feb  6 11:57:55 2014	(r343039)
@@ -17,22 +17,22 @@ RUN_DEPENDS=	p5-GD>=0:${PORTSDIR}/graphi
 		p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc
 BUILD_DEPENDS:=	${RUN_DEPENDS}
 
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	configure
 EXAMPLESCRIPT=	samples/*pl
 EXAMPLEDUMMY=	samples/index/dummy.txt
 EXAMPLEOUTPUT=	samples/output/w3c.png samples/output/spam.css
 EXAMPLEARCHIVE=	samples/archive/*.gz
 
-MAN3=	Mail::Graph.3
+SHEBANG_FILES=	samples/*.pl
 
-NO_STAGE=	yes
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}/archive ${EXAMPLESDIR}/index ${EXAMPLESDIR}/output
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/archive \
+		${STAGEDIR}${EXAMPLESDIR}/index ${STAGEDIR}${EXAMPLESDIR}/output
 	(cd ${WRKSRC} && \
-	${INSTALL_SCRIPT} ${EXAMPLESCRIPT} ${EXAMPLESDIR}  && \
-	${INSTALL_SCRIPT} ${EXAMPLEDUMMY} ${EXAMPLESDIR}/index && \
-	${INSTALL_SCRIPT} ${EXAMPLEOUTPUT} ${EXAMPLESDIR}/output && \
-	${INSTALL_SCRIPT} ${EXAMPLEARCHIVE} ${EXAMPLESDIR}/archive)
+	${INSTALL_SCRIPT} ${EXAMPLESCRIPT} ${STAGEDIR}${EXAMPLESDIR}  && \
+	${INSTALL_SCRIPT} ${EXAMPLEDUMMY} ${STAGEDIR}${EXAMPLESDIR}/index && \
+	${INSTALL_SCRIPT} ${EXAMPLEOUTPUT} ${STAGEDIR}${EXAMPLESDIR}/output && \
+	${INSTALL_SCRIPT} ${EXAMPLEARCHIVE} ${STAGEDIR}${EXAMPLESDIR}/archive)
 
 .include <bsd.port.mk>

Modified: head/mail/p5-Mail-Graph/pkg-plist
==============================================================================
--- head/mail/p5-Mail-Graph/pkg-plist	Thu Feb  6 11:51:54 2014	(r343038)
+++ head/mail/p5-Mail-Graph/pkg-plist	Thu Feb  6 11:57:55 2014	(r343039)
@@ -8,6 +8,7 @@
 %%EXAMPLESDIR%%/output/spam.css
 %%EXAMPLESDIR%%/archive/sample.txt.gz
 %%EXAMPLESDIR%%/archive/sample2.txt.gz
+%%PERL5_MAN3%%/Mail::Graph.3.gz
 @dirrm %%EXAMPLESDIR%%/archive
 @dirrm %%EXAMPLESDIR%%/index
 @dirrm %%EXAMPLESDIR%%/output



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