aboutsummaryrefslogtreecommitdiff
path: root/mail/fastforward/Makefile
blob: 0f18cd9e78800d37fcb8384cd9ebcc79b3ef625d (plain) (blame)
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
# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$

PORTNAME=	fastforward
PORTVERSION=	0.51
CATEGORIES=	mail
MASTER_SITES=	http://cr.yp.to/software/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Fastforward handles qmail forwarding according to a cdb database

USES=		gmake groff

ALL_TARGET=	default

FILES=	fastforward printforward setforward newaliases printmaillist setmaillist newinclude

PORTDOCS=	ALIASES

PLIST_FILES=	${FILES:S,^,bin/,} ${FILES:S,^,man/man1/,:S,$,.1.gz,} ${FILES:S,^,man/cat1/,:S,$,.0.gz,}

OPTIONS_DEFINE=	DOCS

do-install:
.for binfile in ${FILES}
	${INSTALL_PROGRAM} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin/${binfile}
	${INSTALL_MAN} ${WRKSRC}/${binfile}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/${binfile}.0 ${STAGEDIR}${MAN1PREFIX}/man/cat1
.endfor

	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/ALIASES ${STAGEDIR}${DOCSDIR}/ALIASES

.include <bsd.port.mk>