replaced a whole lot more commands with ${COMMAND}
This commit is contained in:
parent
818d632b2b
commit
eadd890e05
12 changed files with 30 additions and 28 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.11 1999/04/26 18:56:14 garbled Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2000/01/10 00:57:13 wiz Exp $
|
||||
# FreeBSD Id: Makefile,v 1.8 1997/04/20 13:19:32 wosch Exp
|
||||
#
|
||||
|
||||
|
@ -13,8 +13,10 @@ DEPENDS= tk-8.0.5:../../x11/tk80
|
|||
USE_X11= yes
|
||||
|
||||
pre-configure:
|
||||
for f in `find ${WRKDIR}/. -type f -print|xargs ${GREP} -l '/usr/local'`; do \
|
||||
${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
|
||||
for f in `${FIND} ${WRKDIR}/. -type f -print \
|
||||
| xargs ${GREP} -l '/usr/local'`; do \
|
||||
${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f \
|
||||
> $$f.pdone && ${MV} $$f.pdone $$f; \
|
||||
done
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 1999/04/15 20:39:45 tron Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2000/01/10 00:57:14 wiz Exp $
|
||||
# FreeBSD Id: Makefile,v 1.7 1997/06/24 18:43:06 jfitz Exp
|
||||
#
|
||||
|
||||
|
@ -18,6 +18,6 @@ do-install:
|
|||
@ ${CP} ${WRKSRC}/CreditCard.pm ${WRKSRC}/CreditCard-0.1.pm
|
||||
@ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/Business/
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/CreditCard-0.1.pm ${PREFIX}/lib/perl5/site_perl/Business/
|
||||
@ ln -sf ${PREFIX}/lib/perl5/site_perl/Business/CreditCard-0.1.pm ${PREFIX}/lib/perl5/site_perl/Business/CreditCard.pm
|
||||
@ ${LN} -sf ${PREFIX}/lib/perl5/site_perl/Business/CreditCard-0.1.pm ${PREFIX}/lib/perl5/site_perl/Business/CreditCard.pm
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 1999/11/19 12:32:26 agc Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2000/01/10 00:57:15 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= arpwatch-2.1a4
|
||||
|
@ -18,7 +18,7 @@ pre-patch:
|
|||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/arpwatch.8 ${PREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/arpsnmp.8 ${PREFIX}/man/man8
|
||||
@/bin/test -e /var/db/arpwatch || ${MKDIR} /var/db/arpwatch
|
||||
@${TEST} -e /var/db/arpwatch || ${MKDIR} /var/db/arpwatch
|
||||
${TOUCH} /var/db/arpwatch/arp.dat
|
||||
${INSTALL_DATA} ${WRKSRC}/ethercodes.dat ${PREFIX}/etc
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 1998/10/27 19:12:22 agc Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2000/01/10 00:57:15 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= coda-doc-4.6.5-3
|
||||
|
@ -19,7 +19,7 @@ do-build:
|
|||
@${ECHO} "available. It should appear in a release or two."
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; pax -r -w man ${PREFIX}
|
||||
cd ${WRKSRC}; pax -r -w doc ${PREFIX}/share
|
||||
cd ${WRKSRC}; ${PAX} -r -w man ${PREFIX}
|
||||
cd ${WRKSRC}; ${PAX} -r -w doc ${PREFIX}/share
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 1998/10/27 14:36:05 agc Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2000/01/10 00:57:15 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= coda-intro-4.6.6
|
||||
|
@ -14,6 +14,7 @@ do-build:
|
|||
@${TRUE}
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; pax -r -w -s '|.*CVS||' -s '|.*\.FreeBSD||' doc ${PREFIX}/share
|
||||
cd ${WRKSRC}; ${PAX} -r -w -s '|.*CVS||' -s '|.*\.FreeBSD||' \
|
||||
doc ${PREFIX}/share
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.22 1999/09/23 16:28:19 hubertf Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2000/01/10 00:57:15 wiz Exp $
|
||||
# FreeBSD Id: Makefile,v 1.14 1997/05/14 10:35:13 torstenb Exp
|
||||
#
|
||||
|
||||
|
@ -30,7 +30,6 @@ DEPENDS+= socks5-1.0.2:../../net/socks5
|
|||
.endif
|
||||
.endif
|
||||
|
||||
|
||||
pre-install:
|
||||
@(if [ "X${MANZ}" != X"" ]; then \
|
||||
GZSUFFIX=.gz; \
|
||||
|
@ -40,7 +39,7 @@ pre-install:
|
|||
post-install:
|
||||
@if [ "X${MANZ}" != X"" ]; then \
|
||||
${ECHO} Compressing help files; \
|
||||
find ${PREFIX}/share/irc/help -type f -print | xargs ${GZIP_CMD}; \
|
||||
${FIND} ${PREFIX}/share/irc/help -type f -print | xargs ${GZIP_CMD}; \
|
||||
fi
|
||||
${RM} -f ${PREFIX}/man/man1/irc.1
|
||||
${LN} -s ircII.1 ${PREFIX}/man/man1/irc.1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 1999/12/06 21:09:12 abs Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2000/01/10 00:57:16 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= nocol-4.2.2beta4
|
||||
|
@ -16,7 +16,7 @@ INSTALL_TARGET= install root
|
|||
post-patch:
|
||||
@(hostname=`/bin/hostname`; \
|
||||
dir=""; \
|
||||
for d in /usr/bin /usr/sbin `${ECHO} $$PATH | tr ':' ' '`; do \
|
||||
for d in /usr/bin /usr/sbin `${ECHO} $$PATH | ${TR} ':' ' '`; do \
|
||||
if [ -x $$d/host ]; then \
|
||||
dir=$$d; \
|
||||
break; \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 1999/11/14 05:23:26 fredb Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2000/01/10 00:57:16 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= ntp-4.0.98f
|
||||
|
@ -22,7 +22,7 @@ post-build:
|
|||
|
||||
post-install:
|
||||
cd ${WRKSRC}; \
|
||||
${RM} html/.cvsignore* 2> /dev/null || true; \
|
||||
${RM} html/.cvsignore* 2> /dev/null || ${TRUE}; \
|
||||
${PAX} -r -w -s "/html/ntp4/" html ${DOCDIR}; \
|
||||
${PAX} -r -w -s "/conf/ntp4/" conf ${EXAMPLESDIR}
|
||||
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 1999/12/24 02:58:31 sakamoto Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2000/01/10 00:57:16 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xipdump-1.5.4
|
||||
|
@ -22,7 +22,7 @@ CONFIGURE_ENV+= CFLAGS="`${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines`
|
|||
|
||||
post-build:
|
||||
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
||||
@(cd ${WRKSRC}/data; find pkc pkt ! -type d | \
|
||||
@(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d | \
|
||||
${SED} -e 's|^|share/xipdump/|' >> ${PLIST_SRC})
|
||||
@${ECHO} "@dirrm share/xipdump/pkt" >> ${PLIST_SRC}
|
||||
@${ECHO} "@dirrm share/xipdump/pkc" >> ${PLIST_SRC}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.8 1999/09/20 19:21:21 kim Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2000/01/10 00:57:16 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= nntpclnt-1.6.1
|
||||
|
@ -17,7 +17,7 @@ CONFIG_SH= ${FILESDIR}/config.${OPSYS}.sh
|
|||
|
||||
do-configure:
|
||||
${SED} -e s,@PREFIX@,${PREFIX}, ${CONFIG_SH} >${WRKSRC}/config.sh
|
||||
@cd ${WRKSRC} && sh Makefile.SH && sh config.h.SH
|
||||
@cd ${WRKSRC} && ${SH} Makefile.SH && ${SH} config.h.SH
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC} && \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 1999/10/07 17:41:57 tron Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2000/01/10 00:57:16 wiz Exp $
|
||||
|
||||
DISTNAME= magicfilter-1.2
|
||||
CATEGORIES= print
|
||||
|
@ -33,8 +33,8 @@ post-install:
|
|||
${ECHO} "Installing $$FILTER as $$TARGET"; \
|
||||
${SED} 's/-sOutputFile=-/-sOutputFile=- -sPAPERSIZE='$$paper'/' \
|
||||
<$$FILTER >${PREFIX}/${FILTER_DIR}/$$FILTER; \
|
||||
chown ${BINOWN}:${BINGRP} $$TARGET; \
|
||||
chmod ${BINMODE} $$TARGET; \
|
||||
${CHOWN} ${BINOWN}:${BINGRP} $$TARGET; \
|
||||
${CHMOD} ${BINMODE} $$TARGET; \
|
||||
${ECHO} ${FILTER_DIR}/$$FILTER >>${PLIST_SRC}; \
|
||||
done)
|
||||
@${ECHO} "@dirrm ${FILTER_DIR}" >>${PLIST_SRC}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 1999/10/28 19:52:26 kim Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2000/01/10 00:57:17 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mp
|
||||
|
@ -30,6 +30,6 @@ ALL_TARGET= mp PREFIX=${PREFIX} X11BASE=${X11BASE} CC='${CC}' \
|
|||
INSTALL_TARGET= install-mp PREFIX=${PREFIX}
|
||||
|
||||
pre-patch:
|
||||
cp ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
|
||||
${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue