summaryrefslogtreecommitdiff
path: root/mail/razor-agents
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-07-11 05:38:37 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-07-11 05:38:37 +0000
commit927ba31efc7451473139330a57ea462eafb15eed (patch)
treed800621b10853e956b00ca84685b9729527fbc72 /mail/razor-agents
parentBROKEN: Unfetchable (diff)
- replace the default value of <razorhome> "/etc/razor" with "${PREFIX}/etc"
- bump PORTREVISION PR: 68868 Submitted by: Rob Evers <rob@debank.tv>
Notes
Notes: svn path=/head/; revision=113374
Diffstat (limited to 'mail/razor-agents')
-rw-r--r--mail/razor-agents/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/razor-agents/Makefile b/mail/razor-agents/Makefile
index 0f3312943483..68f7dbb6ef78 100644
--- a/mail/razor-agents/Makefile
+++ b/mail/razor-agents/Makefile
@@ -7,6 +7,7 @@
PORTNAME= razor-agents
PORTVERSION= 2.61
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= razor
@@ -28,6 +29,9 @@ MAN3= Razor2::Errorhandler.3 Razor2::Preproc::deHTMLxs.3 \
MAN5= razor-agents.5 razor-whitelist.5 razor-agent.conf.5
post-patch:
+ @${PERL} -pi.orig -e 's|/etc/razor|${PREFIX}/etc|g' \
+ ${WRKSRC}/lib/Razor2/Client/Agent.pm \
+ ${WRKSRC}/docs/* ${WRKSRC}/Changes ${WRKSRC}/INSTALL
@${FIND} ${WRKSRC} -name "*.orig" -delete
post-install: