1997-10-13 07:02:39 +00:00
|
|
|
# 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)
|
|
|
|
#
|
1999-08-30 14:33:04 +00:00
|
|
|
# $FreeBSD$
|
1997-10-13 07:02:39 +00: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= obrien@FreeBSD.ORG
|
|
|
|
|
1997-10-14 11:18:56 +00:00
|
|
|
DIST_SUBDIR= aub
|
1997-10-13 07:02:39 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
MAN1= aub.1
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
|
1998-11-03 09:29:15 +00:00
|
|
|
pre-patch:
|
1999-06-09 09:36:39 +00:00
|
|
|
@${SED} -e '1,1s:/usr/local/bin/perl:!${PERL5}:' \
|
1997-10-13 07:02:39 +00:00
|
|
|
-e 's:$SUM = "/bin/sum":$SUM = "/usr/bin/sum":' \
|
1997-10-18 06:11:16 +00:00
|
|
|
-e 's:/usr/tmp:/var/tmp:' \
|
|
|
|
${DISTDIR}/${DIST_SUBDIR}/aub > ${WRKDIR}/aub
|
1997-10-13 07:02:39 +00:00
|
|
|
|
1998-11-03 09:29:15 +00:00
|
|
|
.if !exists(/usr/bin/perl5)
|
|
|
|
post-patch:
|
|
|
|
@cd ${WRKSRC} ; ${PATCH} -d ${WRKSRC} --reverse --quiet -E \
|
|
|
|
${PATCH_STRIP} < ${PATCHDIR}/patch-01
|
|
|
|
.endif
|
|
|
|
|
1997-10-13 07:02:39 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/aub ${PREFIX}/bin
|
1997-10-14 11:18:56 +00:00
|
|
|
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/aub.1 ${PREFIX}/man/man1
|
1997-10-13 07:02:39 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/aub
|
1997-10-14 11:18:56 +00:00
|
|
|
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/BUG_FIXES ${PREFIX}/share/doc/aub
|
1997-10-13 07:02:39 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|