diff options
author | leeym <leeym@FreeBSD.org> | 2004-07-11 13:38:37 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2004-07-11 13:38:37 +0800 |
commit | e220b8cf8b22de1b02a2e9d586c6b6ec151733f2 (patch) | |
tree | d0edbf57b9c44365a4ebc6373bab7a1765d920b1 /mail/razor-agents | |
parent | 194db06880a7962b356526e2d956c87cf9e4c1c9 (diff) | |
download | freebsd-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/razor-agents')
-rw-r--r-- | mail/razor-agents/Makefile | 4 |
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: |