openbsd-ports/news/aub/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

2001-02-09 12:55:32 -05:00
# $OpenBSD: Makefile,v 1.14 2001/02/09 17:55:32 angelos Exp $
1997-12-01 21:04:45 -05:00
DISTNAME= aub
PKGNAME= aub-2.0.5
CATEGORIES= news
NEED_VERSION= 1.191
2000-03-31 16:48:47 -05:00
MASTER_SITES= ftp://ftp.freesoftware.com/pub/perl/CPAN/scripts/news/nntpstuff/aub/ \
1997-12-01 21:04:45 -05:00
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
2000-03-31 16:48:47 -05:00
DIST_SUBDIR= aub
1997-12-01 21:04:45 -05:00
2000-10-22 10:02:46 -04:00
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
1997-12-01 21:04:45 -05:00
2000-03-22 22:43:40 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-03-31 16:48:47 -05:00
NO_BUILD= Yes
WRKDIST= ${WRKDIR}
1997-12-01 21:04:45 -05:00
do-extract:
@mkdir -p ${WRKDIR}
1997-12-01 21:04:45 -05:00
pre-configure:
@sed -e '1,1s:/usr/local/bin/perl:!/usr/bin/perl:' \
1997-12-01 21:04:45 -05:00
-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:
2001-02-09 12:55:32 -05:00
cd ${WRKDIR}; patch < ${FILESDIR}/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
${INSTALL_DATA_DIR} ${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>