diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-04-29 01:37:58 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-04-29 01:37:58 +0000 |
commit | 1a449ed9cd9e3ec33166ac70383dde7a6508103d (patch) | |
tree | f402a9e84ad50bfd8afc7a134f6da465081c95f8 /mail/mailscanner-mrtg | |
parent | - USE_APACHE=yes is deprecated (diff) |
- USE_APACHE=yes is deprecated
- Use SF macro
- Use SUB_FILES for pkg-message
PR: ports/133675
Approved by: maintainer timeout (2 weeks)
Submitted by: me
Notes
Notes:
svn path=/head/; revision=232929
Diffstat (limited to 'mail/mailscanner-mrtg')
-rw-r--r-- | mail/mailscanner-mrtg/Makefile | 17 | ||||
-rw-r--r-- | mail/mailscanner-mrtg/files/pkg-message.in (renamed from mail/mailscanner-mrtg/pkg-message) | 0 |
2 files changed, 6 insertions, 11 deletions
diff --git a/mail/mailscanner-mrtg/Makefile b/mail/mailscanner-mrtg/Makefile index 212174189cc6..8bd483443075 100644 --- a/mail/mailscanner-mrtg/Makefile +++ b/mail/mailscanner-mrtg/Makefile @@ -9,9 +9,9 @@ PORTNAME= mailscanner-mrtg PORTVERSION= 0.11.00 PORTREVISION= 3 CATEGORIES= mail -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= mailscannermrtg -DISTNAME= mailscanner-mrtg-${PORTVERSION} +MASTER_SITES= SF +MASTER_SITE_SUBDIR= ${PORTNAME:S/-//} +DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= j.koopmann@seceidos.de COMMENT= Allows mrtg to monitor many aspects of your MailScanner machine @@ -20,7 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/mrtg:${PORTSDIR}/net-mgmt/mrtg \ ${LOCALBASE}/lib/MailScanner/MailScanner.pm:${PORTSDIR}/mail/mailscanner USE_PERL5= yes -USE_APACHE= yes +USE_APACHE= 1.3 PKGMESSAGE= ${WRKDIR}/pkg-message @@ -34,6 +34,8 @@ WWWFILES= mailscanner-mrtg.conf \ mailscanner-mrtg.cfg ETCFILES= ${WWWFILES} +SUB_FILES+= pkg-message + do-build: .for FILE in ${WWWFILES} ${PERL} -pi -e \ @@ -94,13 +96,6 @@ do-install: # # Step 6: Show further instructions # - @${PERL} -pi -e \ - 's,%%PREFIX%%,${PREFIX},g; \ - s,%%LOCALBASE%%,${LOCALBASE},g; \ - s,%%WWWBASE%%,${WWWBASE},g; \ - s,%%PORTSDIR%%,${PORTSDIR},g;' \ - < pkg-message > ${PKGMESSAGE} - @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/mail/mailscanner-mrtg/pkg-message b/mail/mailscanner-mrtg/files/pkg-message.in index 37e77859136d..37e77859136d 100644 --- a/mail/mailscanner-mrtg/pkg-message +++ b/mail/mailscanner-mrtg/files/pkg-message.in |