aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamsmtp
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2004-12-28 09:03:03 +0800
committerclsung <clsung@FreeBSD.org>2004-12-28 09:03:03 +0800
commit7d5ff004e8c27e99db85ac012b0ab7fa776f308d (patch)
tree2bca3c49c40d682338bf50bfac1d224593b5e70b /security/clamsmtp
parentfa516ef1cea0579f4a1a2d568206325c0d3350a5 (diff)
downloadfreebsd-ports-gnome-7d5ff004e8c27e99db85ac012b0ab7fa776f308d.tar.gz
freebsd-ports-gnome-7d5ff004e8c27e99db85ac012b0ab7fa776f308d.tar.zst
freebsd-ports-gnome-7d5ff004e8c27e99db85ac012b0ab7fa776f308d.zip
- update to 1.2
+ Install README in $DOCSDIR + Install scripts/virus_action.sh in $DOCSDIR PR: ports/75406 Submitted by: Marcus Grando <marcus AT corp.grupos.com.br>
Diffstat (limited to 'security/clamsmtp')
-rw-r--r--security/clamsmtp/Makefile11
-rw-r--r--security/clamsmtp/distinfo4
2 files changed, 12 insertions, 3 deletions
diff --git a/security/clamsmtp/Makefile b/security/clamsmtp/Makefile
index 1ba07e38f099..7f81c94429eb 100644
--- a/security/clamsmtp/Makefile
+++ b/security/clamsmtp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clamsmtp
-PORTVERSION= 1.1
+PORTVERSION= 1.2
PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= http://memberwebs.com/nielsen/software/clamsmtp/
@@ -28,11 +28,20 @@ CLAMAV_PID_DIR?= /var/run/clamav
MAN5= clamsmtpd.conf.5
MAN8= clamsmtpd.8
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
post-install:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/clamsmtpd.sh.tmpl > ${STARTUP_FILE}
@${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${PREFIX}/etc/clamsmtpd.conf-sample
@${CHMOD} 755 ${STARTUP_FILE}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/scripts/virus_action.sh ${DOCSDIR}
+.endif
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/security/clamsmtp/distinfo b/security/clamsmtp/distinfo
index 5d81a46936d2..f240c4cec812 100644
--- a/security/clamsmtp/distinfo
+++ b/security/clamsmtp/distinfo
@@ -1,2 +1,2 @@
-MD5 (clamsmtp-1.1.tar.gz) = dbb077492c1ed5acca9beb91f2808e0c
-SIZE (clamsmtp-1.1.tar.gz) = 139329
+MD5 (clamsmtp-1.2.tar.gz) = 8a704db5f833feab92aad723209acc13
+SIZE (clamsmtp-1.2.tar.gz) = 143089