svn commit: r385382 - head/www/p5-RTx-Calendar

Baptiste Daroussin bapt at FreeBSD.org
Mon May 4 08:17:13 UTC 2015


Author: bapt
Date: Mon May  4 08:17:12 2015
New Revision: 385382
URL: https://svnweb.freebsd.org/changeset/ports/385382

Log:
  Allow packaging as a user

Modified:
  head/www/p5-RTx-Calendar/Makefile

Modified: head/www/p5-RTx-Calendar/Makefile
==============================================================================
--- head/www/p5-RTx-Calendar/Makefile	Mon May  4 08:14:48 2015	(r385381)
+++ head/www/p5-RTx-Calendar/Makefile	Mon May  4 08:17:12 2015	(r385382)
@@ -19,7 +19,6 @@ BUILD_DEPENDS=	p5-Date-ICal>0:${PORTSDIR
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 NO_ARCH=	yes
-NEED_ROOT=	yes
 
 USES+=		perl5
 USE_PERL5=	configure
@@ -60,6 +59,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/RTx/Calendar/.packlist
 	${RMDIR} -p ${STAGEDIR}${PREFIX}/man/auto/RTx/Calendar 2>/dev/null || :


More information about the svn-ports-all mailing list