aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qar-bufo/Makefile
blob: 93284186be57bf683b0ed07a3910fba17b0065d7 (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
# 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 shebangfix
NO_WRKSUBDIR=   yes

SHEBANG_FILES=  qar-bufo-1.3.1
PLIST_FILES=    bin/qar-bufo man/man1/qar-bufo.1.gz

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:
    ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
        ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
        ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>