Use ${PREFIX}/bin/perl in all the places

This commit is contained in:
hubertf 1997-10-28 01:02:29 +00:00
parent 27fda5db89
commit c879edd931

View file

@ -3,7 +3,7 @@
# Date created: 15 May 1995
# Whom: torstenb
#
# $NetBSD: Makefile,v 1.1.1.1 1997/10/27 05:01:30 hubertf Exp $
# $NetBSD: Makefile,v 1.2 1997/10/28 01:02:29 hubertf Exp $
# FreeBSD Id: Makefile,v 1.6 1996/12/01 01:22:54 obrien Exp
#
@ -13,10 +13,21 @@ MASTER_SITES= ftp://src.doc.ic.ac.uk/computing/archiving/mirror/
MAINTAINER= torstenb@FreeBSD.ORG
USE_PERL5= yes
NO_WRKSUBDIR= yes
MAKEFILE= makefile
MAN1= mirror.1 mirrormaster.1
post-configure:
cd ${WRKSRC} ; ${SED} \
s:/usr/local:${PREFIX}: <mirror.pl >mirror.pl.BAK ; \
mv mirror.pl.BAK mirror.pl
cd ${WRKSRC} ; for i in do_unlinks mirror mirror.pl mm \
pkgs_to_mmin ; do \
${SED} s:/usr/bin/perl:${PREFIX}/bin/perl: <$$i >$$i.BAK ; \
mv $$i.BAK $$i ; done
pre-install:
${MKDIR} ${PREFIX}/lib/mirror