aboutsummaryrefslogtreecommitdiffstats
path: root/mail/razor-agents
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2013-10-14 03:01:19 +0800
committergarga <garga@FreeBSD.org>2013-10-14 03:01:19 +0800
commit6099fe8aceb88e58e5becfc2294e9a56c686c887 (patch)
tree1890670bd828a8795946c2c7c1360c9575b874b9 /mail/razor-agents
parente2ffe9ced271b935347c7475304be6838b07370e (diff)
downloadfreebsd-ports-gnome-6099fe8aceb88e58e5becfc2294e9a56c686c887.tar.gz
freebsd-ports-gnome-6099fe8aceb88e58e5becfc2294e9a56c686c887.tar.zst
freebsd-ports-gnome-6099fe8aceb88e58e5becfc2294e9a56c686c887.zip
Support staging
Diffstat (limited to 'mail/razor-agents')
-rw-r--r--mail/razor-agents/Makefile12
-rw-r--r--mail/razor-agents/pkg-plist10
2 files changed, 15 insertions, 7 deletions
diff --git a/mail/razor-agents/Makefile b/mail/razor-agents/Makefile
index 992e153e738a..8eaf0ad2db87 100644
--- a/mail/razor-agents/Makefile
+++ b/mail/razor-agents/Makefile
@@ -14,21 +14,19 @@ BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
p5-URI>=0:${PORTSDIR}/net/p5-URI
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= configure patch
MAKE_JOBS_UNSAFE= yes
+SHEBANG_FILES= lib/Razor2/Client/*.pm \
+ lib/Razor2/Signature/*.pm \
+ lib/Razor2/*.pm
+
MAKE_ARGS+= PERLPREFIX=${PREFIX}
USE_BZIP2= yes
-MAN1= razor-revoke.1 razor-admin.1 razor-report.1 razor-check.1
-MAN3= Razor2::Errorhandler.3 Razor2::Preproc::deHTMLxs.3 \
- Razor2::Syslog.3
-MAN5= razor-agents.5 razor-whitelist.5 razor-agent.conf.5
-
PORTSCOUT= skipv:2.85
-NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e 's|/etc/razor|${PREFIX}/etc|g'
@${PERL} -pi -e 's,share/man,man,g' ${WRKSRC}/${CONFIGURE_SCRIPT}
diff --git a/mail/razor-agents/pkg-plist b/mail/razor-agents/pkg-plist
index 49759ea3239a..084ae8cc9dbb 100644
--- a/mail/razor-agents/pkg-plist
+++ b/mail/razor-agents/pkg-plist
@@ -3,6 +3,16 @@ bin/razor-check
bin/razor-client
bin/razor-report
bin/razor-revoke
+%%PERL5_MAN3%%/Razor2::Errorhandler.3.gz
+%%PERL5_MAN3%%/Razor2::Preproc::deHTMLxs.3.gz
+%%PERL5_MAN3%%/Razor2::Syslog.3.gz
+man/man1/razor-admin.1.gz
+man/man1/razor-check.1.gz
+man/man1/razor-report.1.gz
+man/man1/razor-revoke.1.gz
+man/man5/razor-agent.conf.5.gz
+man/man5/razor-agents.5.gz
+man/man5/razor-whitelist.5.gz
%%SITE_PERL%%/%%PERL_ARCH%%/Razor2/Client/Agent.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Razor2/Client/Config.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Razor2/Client/Core.pm