aboutsummaryrefslogtreecommitdiffstats
path: root/news/aub/Makefile
blob: 3d5a54735daf0835c75d2055e20a08dd3dd7f2c5 (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
41
42
43
44
45
# ex:ts=8
# Ports collection makefile for:  aub
# Version required:           v2.0.5
# Date created:           Sun Oct 12, 1997
# Whom:               David O'Brien (obrien@cs.ucdavis.edu)
#
# $Id: Makefile,v 1.2 1997/10/14 11:18:45 asami Exp $
#

DISTNAME=   aub
PKGNAME=    aub-2.0.5
CATEGORIES= news
MASTER_SITES=   ftp://ftp.cdrom.com/pub/perl/CPAN/scripts/news/nntpstuff/aub/ \
        ftp://ftp.digital.com/pub/plan/perl/CPAN/scripts/news/nntpstuff/aub/ \
        ftp://ftp.perl.org/pub/CPAN/scripts/news/nntpstuff/aub/
DISTFILES=  aub aub.1 BUG_FIXES

MAINTAINER= obrien@FreeBSD.ORG

DIST_SUBDIR=    aub
NO_WRKSUBDIR=   yes
NO_BUILD=   yes
MAN1=       aub.1

do-extract:
    @${MKDIR} ${WRKDIR}

pre-configure:
    @${SED} -e '1,1s:/usr/local/bin/perl:!/usr/bin/perl:' \
        -e 's:$SUM = "/bin/sum":$SUM = "/usr/bin/sum":' \
        -e 's:/usr/tmp:/var/tmp:' \
        ${DISTDIR}/${DIST_SUBDIR}/aub > ${WRKDIR}/aub

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/aub ${PREFIX}/bin
    ${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/aub.1 ${PREFIX}/man/man1
    ${MKDIR} ${PREFIX}/share/doc/aub
    ${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/BUG_FIXES ${PREFIX}/share/doc/aub

#
# There is a patch to aub to run with perl5.
# You may find it in the files/ dir.
#

.include <bsd.port.mk>