2000-12-26 07:06:03 +01:00
|
|
|
# New ports collection makefile for: spambnc
|
|
|
|
# Date created: 25 December 2000
|
|
|
|
# Whom: George Reid <greid@ukug.uk.freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTNAME= spambnc
|
2003-09-19 23:19:12 +02:00
|
|
|
PORTVERSION= 20030828
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= mail
|
2001-06-17 12:26:04 +02:00
|
|
|
MASTER_SITES= http://www.spambouncer.org/
|
2001-05-16 03:31:45 +02:00
|
|
|
DISTFILES= sb.tar.Z index.shtml
|
2002-12-14 06:55:55 +01:00
|
|
|
DIST_SUBDIR= spambnc-${PORTVERSION}
|
2001-05-16 03:31:45 +02:00
|
|
|
EXTRACT_ONLY= sb.tar.Z
|
2000-12-26 07:06:03 +01:00
|
|
|
|
2003-11-03 01:54:32 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A set of procmail recipies which handle known/suspected spam
|
2000-12-26 07:06:03 +01:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
IGNOREFILES= index.shtml
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
2001-12-25 00:06:25 +01:00
|
|
|
PLIST= ${WRKDIR}/.pkg-plist
|
2000-12-26 07:06:03 +01:00
|
|
|
|
2001-09-18 22:37:10 +02:00
|
|
|
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}
|
2000-12-26 07:06:03 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/spambnc/
|
2001-09-18 22:37:10 +02:00
|
|
|
cd ${WRKDIR} && ${CP} -Rv * ${PREFIX}/share/spambnc
|
2000-12-26 07:06:03 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/spambnc/
|
2001-06-17 12:26:04 +02:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/index.shtml \
|
|
|
|
${PREFIX}/share/doc/spambnc/documentation.html
|
2000-12-26 07:06:03 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2001-05-16 03:31:45 +02:00
|
|
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
|
2000-12-26 07:06:03 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|