aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-07-11 13:38:37 +0800
committerleeym <leeym@FreeBSD.org>2004-07-11 13:38:37 +0800
commite220b8cf8b22de1b02a2e9d586c6b6ec151733f2 (patch)
treed0edbf57b9c44365a4ebc6373bab7a1765d920b1 /mail
parent194db06880a7962b356526e2d956c87cf9e4c1c9 (diff)
downloadfreebsd-ports-gnome-e220b8cf8b22de1b02a2e9d586c6b6ec151733f2.tar.gz
freebsd-ports-gnome-e220b8cf8b22de1b02a2e9d586c6b6ec151733f2.tar.zst
freebsd-ports-gnome-e220b8cf8b22de1b02a2e9d586c6b6ec151733f2.zip
- replace the default value of <razorhome> "/etc/razor" with "${PREFIX}/etc"
- bump PORTREVISION PR: 68868 Submitted by: Rob Evers <rob@debank.tv>
Diffstat (limited to 'mail')
-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: