svn commit: r385381 - head/www/p5-RT-Extension-SLA
Baptiste Daroussin
bapt at FreeBSD.org
Mon May 4 08:14:49 UTC 2015
Author: bapt
Date: Mon May 4 08:14:48 2015
New Revision: 385381
URL: https://svnweb.freebsd.org/changeset/ports/385381
Log:
Allow packaging as a user
Modified:
head/www/p5-RT-Extension-SLA/Makefile
Modified: head/www/p5-RT-Extension-SLA/Makefile
==============================================================================
--- head/www/p5-RT-Extension-SLA/Makefile Mon May 4 08:10:37 2015 (r385380)
+++ head/www/p5-RT-Extension-SLA/Makefile Mon May 4 08:14:48 2015 (r385381)
@@ -21,7 +21,6 @@ NO_ARCH= yes
USES+= perl5
USE_PERL5= configure
-NEED_ROOT= yes
OPTIONS_SINGLE= RTVERSION
OPTIONS_SINGLE_RTVERSION= RT40 RT42
@@ -59,6 +58,9 @@ do-configure:
${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
+post-configure:
+ ${REINPLACE_CMD} "/RTxPlugin/d" ${WRKSRC}/Makefile
+
post-install:
${RM} ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/SLA/.packlist
${RMDIR} -p ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/SLA 2>/dev/null || :
More information about the svn-ports-all
mailing list