1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/mail/spambnc/Makefile
Alexey Dokuchaev 2a789c8379 For ports in `mail' category: remove redundant PKGMESSAGE assignment,
which is set appropriately by the b.p.m when `pkg-message' appears on
the SUB_FILES list.
2018-05-05 14:11:14 +00:00

56 lines
1.5 KiB
Makefile

# Created by: George Reid <greid@ukug.uk.freebsd.org>
# $FreeBSD$
PORTNAME= spambnc
PORTVERSION= 20060416
CATEGORIES= mail
MASTER_SITES= http://www.spambouncer.org/dist/sb/:tarball \
http://www.spambouncer.org/configure/:doc
DISTFILES= sb.tar.gz:tarball quickstart.shtml:doc
DIST_SUBDIR= spambnc-${PORTVERSION}
EXTRACT_ONLY= sb.tar.gz
MAINTAINER= thierry@FreeBSD.org
COMMENT= Set of procmail recipes which handle known/suspected spam
LICENSE= GPLv2
RUN_DEPENDS= procmail:mail/procmail
EXTRACT_DIR= ${WRKDIRPREFIX}${.CURDIR}/worktmp/${DISTNAME}
EXTRACT_BEFORE_ARGS= -C ${EXTRACT_DIR} -xf
NO_BUILD= yes
NO_ARCH= yes
PLIST= ${WRKDIR}/.pkg-plist
SUB_FILES= pkg-message
PORTDATA= *
PORTDOCS= documentation.html upgrading.html loglevels.txt
OPTIONS_DEFINE= DOCS
DOCS_MASTER_SITES= http://www.spambouncer.org/configure/:upg
DOCS_DISTFILES= upgrading.shtml:upg
pre-extract:
${MKDIR} ${EXTRACT_DIR}
post-extract:
${MV} ${EXTRACT_DIR} ${WRKDIR}
${RM} -r ${WRKDIRPREFIX}${.CURDIR}/worktmp
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR})
${RM} -r ${STAGEDIR}${DATADIR}/docs
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/quickstart.shtml \
${STAGEDIR}${DOCSDIR}/documentation.html
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/upgrading.shtml \
${STAGEDIR}${DOCSDIR}/upgrading.html
${INSTALL_DATA} ${WRKSRC}/docs/loglevels.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>