aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-05-04 16:17:12 +0800
committerbapt <bapt@FreeBSD.org>2015-05-04 16:17:12 +0800
commit197038cdb109e791a16acaa3ae9aad0d30a3b6be (patch)
tree600bdbccc17c20a1f973bac412f541c5f6100c4e /www
parent2e93538eb3eb7609dbcb05bbd7b6403512cfc75b (diff)
downloadfreebsd-ports-gnome-197038cdb109e791a16acaa3ae9aad0d30a3b6be.tar.gz
freebsd-ports-gnome-197038cdb109e791a16acaa3ae9aad0d30a3b6be.tar.zst
freebsd-ports-gnome-197038cdb109e791a16acaa3ae9aad0d30a3b6be.zip
Allow packaging as a user
Diffstat (limited to 'www')
-rw-r--r--www/p5-RTx-Calendar/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/p5-RTx-Calendar/Makefile b/www/p5-RTx-Calendar/Makefile
index 85fc039879d8..45e587cdbbc7 100644
--- a/www/p5-RTx-Calendar/Makefile
+++ b/www/p5-RTx-Calendar/Makefile
@@ -19,7 +19,6 @@ BUILD_DEPENDS= p5-Date-ICal>0:${PORTSDIR}/devel/p5-Date-ICal \
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 || :