Date: Wed, 2 Apr 2014 08:39:48 +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: r349911 - head/devel/cvschangelogbuilder Message-ID: <201404020839.s328dmqu068458@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Wed Apr 2 08:39:48 2014 New Revision: 349911 URL: http://svnweb.freebsd.org/changeset/ports/349911 QAT: https://qat.redports.org/buildarchive/r349911/ Log: - Fix permissions of extracted files, this allows staging as normal user - Add staging support - Convert to USES=shebangfix Modified: head/devel/cvschangelogbuilder/Makefile Modified: head/devel/cvschangelogbuilder/Makefile ============================================================================== --- head/devel/cvschangelogbuilder/Makefile Wed Apr 2 08:08:44 2014 (r349910) +++ head/devel/cvschangelogbuilder/Makefile Wed Apr 2 08:39:48 2014 (r349911) @@ -14,22 +14,21 @@ LICENSE= GPLv2 RUN_DEPENDS= p5-GD-Graph>=0:${PORTSDIR}/graphics/p5-GD-Graph NO_BUILD= yes -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= ${PORTNAME}.pl PLIST_FILES= bin/cvschangelogbuilder PORTDOCS= * -NO_STAGE= yes -post-patch: - ${REINPLACE_CMD} -e '1s|/usr/bin/perl|${PERL}|' ${WRKSRC}/${PORTNAME}.pl +post-extract: + @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \; + @${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \; do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} - -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/images - ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/images/* ${DOCSDIR}/images -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/images + ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/images/* ${STAGEDIR}${DOCSDIR}/images .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404020839.s328dmqu068458>