summaryrefslogtreecommitdiff
path: root/mail/qconfirm/Makefile
blob: e13aed65490a597eedbc5fbd898d2312a41cc0b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$

PORTNAME=	qconfirm
PORTVERSION=	0.14.3
CATEGORIES=	mail
MASTER_SITES=	http://smarden.org/qconfirm/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Filter spam by requesting confirmation from sender

WRKSRC=		${WRKDIR}/mail/${DISTNAME}
ALL_TARGET=	default

MAN1=		qconfirm.1 qconfirm-accept.1 qconfirm-check.1 \
		qconfirm-check-mid.1 qconfirm-conf.1 \
		qconfirm-cdb-check.1 qconfirm-cdb-update.1 \
		qconfirm-control.1 qconfirm-inject.1 \
		qconfirm-notice.1 qconfirm-return.1
DOCS=		package/CHANGES package/COPYING package/README doc/*.html

NO_STAGE=	yes
do-configure:
	${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc

do-build:
	cd ${WRKSRC} && package/compile
	@${ECHO_MSG} "Type 'make test' to run self-tests"

test:
	cd ${WRKSRC} && package/check

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/*.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>