- Update to 20031128

- Add FTP servers to MASTER_SITES
- Assign maintainership to the submitter

While I'm here:
- Minor cleanup: s/echo/${ECHO_CMD}/, use DOCSDIR
- Shorten COMMENT to fit the limit

PR:		59796
Submitted by:	Thierry Thomas <thierry@pompo.net>
This commit is contained in:
Sergei Kolobov 2003-12-04 15:20:30 +00:00
parent 9efdbdb471
commit 0f8e172f85
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95010
2 changed files with 14 additions and 11 deletions

View File

@ -6,15 +6,16 @@
#
PORTNAME= spambnc
PORTVERSION= 20031106
PORTVERSION= 20031128
CATEGORIES= mail
MASTER_SITES= http://www.spambouncer.org/
MASTER_SITES= http://www.spambouncer.org/ \
ftp://ftp.spambouncer.org/
DISTFILES= sb.tar.Z index.shtml
DIST_SUBDIR= spambnc-${PORTVERSION}
EXTRACT_ONLY= sb.tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of procmail recipies which handle known/suspected spam
MAINTAINER= thierry@pompo.net
COMMENT= Set of procmail recipies which handle known/suspected spam
RUN_DEPENDS= procmail:${PORTSDIR}/mail/procmail
@ -27,17 +28,19 @@ pre-install:
@${RM} -f ${PLIST}
@(cd ${WRKDIR} && ${FIND} -s . -type f | ${GREP} -v "^\.\/\." | \
${SED} -e 's,.,share/spambnc,1' >> ${PLIST})
@echo "%%PORTDOCS%%share/doc/spambnc/documentation.html" >> ${PLIST}
@echo "@dirrm share/spambnc" >> ${PLIST}
@echo "%%PORTDOCS%%@dirrm share/doc/spambnc" >> ${PLIST}
@${ECHO_CMD} "@dirrm share/spambnc" >> ${PLIST}
.if !defined(NOPORTDOCS)
@${ECHO_CMD} "%%DOCSDIR%%/documentation.html" >> ${PLIST}
@${ECHO_CMD} "@dirrm %%DOCSDIR%%" >> ${PLIST}
.endif
do-install:
${MKDIR} ${PREFIX}/share/spambnc/
cd ${WRKDIR} && ${CP} -Rv * ${PREFIX}/share/spambnc
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/spambnc/
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/index.shtml \
${PREFIX}/share/doc/spambnc/documentation.html
${DOCSDIR}/documentation.html
.endif
post-install:

View File

@ -1,2 +1,2 @@
MD5 (spambnc-20031106/sb.tar.Z) = dacab27c750ebef941163f7df609b2dd
MD5 (spambnc-20031106/index.shtml) = IGNORE
MD5 (spambnc-20031128/sb.tar.Z) = 6462d7f662863be6d51e0daded62fb35
MD5 (spambnc-20031128/index.shtml) = IGNORE