aboutsummaryrefslogtreecommitdiff
path: root/mail/qar-bufo/Makefile
blob: 7e59f25f2c8dd94884bb056c8a5151a532675c5a (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
35
36
37
38
39
40
# New ports collection makefile for: qar-bufo
# Date created:        8 March 2007
# Whom:                Zane C. Bowers
#
# $FreeBSD$
#

PORTNAME=	qar-bufo
PORTVERSION=	1.3.1
CATEGORIES=	mail
MASTER_SITES=	http://cpan.org/authors/id/M/MW/MWCZANECB/
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER=	vvelox@vvelox.net
COMMENT=	qar-bufo generates the Qmail assign and recipients file based on unix groups.

USE_PERL5=	yes
NO_WRKSUBDIR=	yes

MAN1=		qar-bufo.1

PLIST_FILES=	bin/qar-bufo

post-extract:
	@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}

#nothing to configure
do-configure:
	@${ECHO} -n

do-build:
	@${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center="${PORTNAME} user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1

do-install:
	@${CP} -v ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
	@${CP} -v ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
	@${CHMOD} +x ${PREFIX}/bin/qar-bufo

.include <bsd.port.mk>