diff options
Diffstat (limited to 'mail/razor-agents/Makefile')
-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: |