summaryrefslogtreecommitdiff
path: root/security/clamsmtp/Makefile
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2004-12-28 01:03:03 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2004-12-28 01:03:03 +0000
commit5122d6cb0939b57f666cfbf8f991b6b183e80419 (patch)
tree171549aff9f9c3f0e63a290f608586b6dadbfe13 /security/clamsmtp/Makefile
parent- Remove WITH_NEW_ICON knob (diff)
- 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>
Notes
Notes: svn path=/head/; revision=125300
Diffstat (limited to 'security/clamsmtp/Makefile')
-rw-r--r--security/clamsmtp/Makefile11
1 files changed, 10 insertions, 1 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>