1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/news/aub/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# 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)
#
1998-11-03 09:29:15 +00:00
# $Id: Makefile,v 1.3 1997/10/18 06:11:16 obrien 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}
1998-11-03 09:29:15 +00:00
pre-patch:
@${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
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
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
.include <bsd.port.mk>