Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2015 08:17:13 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385382 - head/www/p5-RTx-Calendar
Message-ID:  <201505040817.t448HDQa055577@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 || :



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