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 2b58980092 - Update to version 20031219
PR:		60432
Submitted by:	maintainer
2003-12-20 20:53:46 +00:00

50 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= 20031219
CATEGORIES= mail
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= thierry@pompo.net
COMMENT= Set of procmail recipies which handle known/suspected spam
RUN_DEPENDS= procmail:${PORTSDIR}/mail/procmail
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,.,%%DATADIR%%,1' >> ${PLIST})
@${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
.if !defined(NOPORTDOCS)
@${ECHO_CMD} "%%DOCSDIR%%/documentation.html" >> ${PLIST}
@${ECHO_CMD} "@dirrm %%DOCSDIR%%" >> ${PLIST}
.endif
do-install:
${MKDIR} ${DATADIR}
cd ${WRKDIR} && ${CP} -Rv * ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/index.shtml \
${DOCSDIR}/documentation.html
.endif
post-install:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
.include <bsd.port.mk>