aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qar-bufo/Makefile
blob: 5a671eb93c5d9665501da0ed766791816c51fd20 (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
# Created by: Zane C. Bowers
# $FreeBSD$

PORTNAME=   qar-bufo
PORTVERSION=    1.3.1
CATEGORIES= mail
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:MWCZANECB
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER= vvelox@vvelox.net
COMMENT=    Generates the Qmail assign and recipients file based on unix groups

USES=       perl5
NO_WRKSUBDIR=   yes

MAN1=       qar-bufo.1

PLIST_FILES=    bin/qar-bufo

NO_STAGE=   yes
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>