openbsd-ports/news/aub/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

1997-12-01 21:04:45 -05:00
# OpenBSD makefile for: aub
# Version required: v2.0.5
# Date created: December 1, 1997
# Whom: Angelos D. Keromytis
#
1999-09-22 06:44:21 -04:00
# $OpenBSD: Makefile,v 1.5 1999/09/22 10:44:22 espie Exp $
1997-12-01 21:04:45 -05:00
#
1999-09-22 06:44:21 -04:00
NEED_VERSION= 1.116
1997-12-01 21:04:45 -05:00
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= angelos@openbsd.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:' \
1999-09-22 06:44:21 -04:00
${FULLDISTDIR}/aub > ${WRKDIR}/aub
1997-12-01 21:04:45 -05:00
do-install:
1998-04-27 22:30:22 -04:00
(cd ${WRKDIR}; ${PATCH} < ../files/aub-perl5.diff)
1997-12-01 21:04:45 -05:00
${INSTALL_SCRIPT} ${WRKDIR}/aub ${PREFIX}/bin
1999-09-22 06:44:21 -04:00
${INSTALL_MAN} ${FULLDISTDIR}/aub.1 ${PREFIX}/man/man1
1997-12-01 21:04:45 -05:00
${MKDIR} ${PREFIX}/share/doc/aub
1999-09-22 06:44:21 -04:00
${INSTALL_MAN} ${FULLDISTDIR}/BUG_FIXES ${PREFIX}/share/doc/aub
1997-12-01 21:04:45 -05:00
#
# There is a patch to aub to run with perl5.
# You may find it in the files/ dir.
#
.include <bsd.port.mk>