aboutsummaryrefslogtreecommitdiff
path: root/mail/p3scan
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-06-17 07:22:20 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-06-17 07:22:20 +0000
commit0aefbda6fffa347c0b2ed4c1f57dc5111defea11 (patch)
tree6118505c2049dfeaf90adf23da293609acd23c02 /mail/p3scan
parent0e90752030a46ca80703c66d868a65464137f35d (diff)
downloadports-0aefbda6fffa347c0b2ed4c1f57dc5111defea11.tar.gz
ports-0aefbda6fffa347c0b2ed4c1f57dc5111defea11.zip
Notes
Diffstat (limited to 'mail/p3scan')
-rw-r--r--mail/p3scan/Makefile14
-rw-r--r--mail/p3scan/files/p3scan.in (renamed from mail/p3scan/files/p3scan.sh.in)0
2 files changed, 5 insertions, 9 deletions
diff --git a/mail/p3scan/Makefile b/mail/p3scan/Makefile
index 0313f3a438b6..077378d17975 100644
--- a/mail/p3scan/Makefile
+++ b/mail/p3scan/Makefile
@@ -7,7 +7,7 @@
PORTNAME= p3scan
PORTVERSION= 2.3.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,7 +18,7 @@ COMMENT= A transparent POP3-Proxy with virus-scanning capabilities
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
PLIST_FILES= etc/p3scan/p3scan.conf.sample etc/p3scan/p3scan.mail.sample \
- etc/rc.d/p3scan.sh sbin/p3scan
+ sbin/p3scan
PLIST_DIRS= etc/p3scan
USE_GMAKE= yes
@@ -33,15 +33,11 @@ PORTDOCS= AUTHORS CHANGELOG LICENSE NEWS README
MAN8= p3scan.8 p3scan_readme.8
MANCOMPRESSED= yes
-USE_RC_SUBR= p3scan.sh
-SUB_FILES= p3scan.sh pkg-message
+USE_RC_SUBR= p3scan
+SUB_FILES= p3scan pkg-message
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-IGNORE= is not supported on 4.x
-.endif
-
.if !defined(WITHOUT_UVSCAN)
RUN_DEPENDS+= uvscan:${PORTSDIR}/security/vscan
.endif
@@ -57,7 +53,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/p3scan ${PREFIX}/sbin/
${INSTALL_DATA} ${WRKSRC}/p3scan.conf ${PREFIX}/etc/p3scan/p3scan.conf.sample
${INSTALL_DATA} ${WRKSRC}/p3scan-en.mail ${PREFIX}/etc/p3scan/p3scan.mail.sample
- ${INSTALL_SCRIPT} ${WRKDIR}/p3scan.sh ${PREFIX}/etc/rc.d/
+ ${INSTALL_SCRIPT} ${WRKDIR}/p3scan ${PREFIX}/etc/rc.d/
.for f in ${MAN8}
${INSTALL_MAN} ${WRKSRC}/${f}.gz ${MAN8PREFIX}/man/man8/
.endfor
diff --git a/mail/p3scan/files/p3scan.sh.in b/mail/p3scan/files/p3scan.in
index 62b6263c7aad..62b6263c7aad 100644
--- a/mail/p3scan/files/p3scan.sh.in
+++ b/mail/p3scan/files/p3scan.in