1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/mail/spambnc/Makefile
Kirill Ponomarev 6884bd2585 - Update mail/spambnc to current version and unbreak fetch
PR:		56416
Submitted by:	Mark Linimon <linimon@lonesome.com>
Approved by:	portmgr (will)
2003-09-19 21:19:12 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: spambnc
# Date created: 25 December 2000
# Whom: George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= spambnc
PORTVERSION= 20030828
CATEGORIES= mail
MASTER_SITES= http://www.spambouncer.org/
DISTFILES= sb.tar.Z index.shtml
DIST_SUBDIR= spambnc-${PORTVERSION}
EXTRACT_ONLY= sb.tar.Z
MAINTAINER= greid@FreeBSD.org
COMMENT= A set of procmail recipies which handle known/suspected spam
IGNOREFILES= index.shtml
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST= ${WRKDIR}/.pkg-plist
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}
do-install:
${MKDIR} ${PREFIX}/share/spambnc/
cd ${WRKDIR} && ${CP} -Rv * ${PREFIX}/share/spambnc
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/spambnc/
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/index.shtml \
${PREFIX}/share/doc/spambnc/documentation.html
.endif
post-install:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
.include <bsd.port.mk>