Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248

This commit is contained in:
heinz 2004-01-27 00:53:10 +00:00
parent d84262f580
commit 18a916d5e6
59 changed files with 140 additions and 140 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2004/01/20 12:07:42 agc Exp $
# $NetBSD: Makefile,v 1.17 2004/01/27 00:53:12 heinz Exp $
DISTNAME= voice_abc_di-2.0
PKGNAME= festvox-abc-2.0
@ -24,7 +24,7 @@ post-extract:
${CHMOD} -R a+r ${WRKSRC}
${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755
${RM} -f ${WRKSRC}/lib/voices/spanish/abc_diphone/group/hvslpcOGI16k.group
${FIND} ${WRKSRC} -type d -name CVS | ${XARGS} ${RM} -fr
${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr
do-install:
${INSTALL_DATA_DIR} ${FHOME}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.39 2004/01/20 12:07:43 agc Exp $
# $NetBSD: Makefile,v 1.40 2004/01/27 00:53:12 heinz Exp $
DISTNAME= nas-1.6.src
PKGNAME= ${DISTNAME:S/.src//}
@ -26,7 +26,7 @@ PKG_SYSCONFSUBDIR= nas
REPLACE_PERL= clients/audio/auscope/auscope
post-patch:
@for f in `${FIND} ${WRKSRC} -name '*.[ch]'`; do \
@for f in `${FIND} ${WRKSRC} -name '*.[ch]' -print`; do \
${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \
&& ${MV} $$f.patch $$f; \
done

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2003/01/28 22:03:05 jlam Exp $
# $NetBSD: Makefile,v 1.14 2004/01/27 00:53:12 heinz Exp $
DISTNAME= unixbench-4.1.0
PKGNAME= bytebench-4.1.0
@ -27,7 +27,7 @@ post-patch:
${CHMOD} +x ${WRKSRC}/run-byte
pre-install:
${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} -f
${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/bytebench

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.29 2004/01/22 07:51:12 grant Exp $
# $NetBSD: Makefile,v 1.30 2004/01/27 00:53:12 heinz Exp $
#
DISTNAME= fidogate-4.4.5
@ -54,9 +54,9 @@ pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/fidogate/sendmail/mailer
post-install:
cd ${WRKSRC}/examples && for f in `${FIND} [m-p]* -type d`; do \
cd ${WRKSRC}/examples && for f in `${FIND} [m-p]* -type d -print`; do \
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fidogate/$$f; done
cd ${WRKSRC}/examples && for f in `${FIND} README [m-p]* -type f`; do \
cd ${WRKSRC}/examples && for f in `${FIND} README [m-p]* -type f -print`; do \
${INSTALL_DATA} $$f ${PREFIX}/share/examples/fidogate/$$f; done
cd ${WRKSRC}/sendmail/mailer && ${INSTALL_DATA} ffx.m4 ftn.m4 \
${PREFIX}/share/fidogate/sendmail/mailer

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2004/01/20 12:10:55 agc Exp $
# $NetBSD: Makefile,v 1.18 2004/01/27 00:53:12 heinz Exp $
#
DISTVERSION= 2.02.0
@ -35,7 +35,7 @@ post-extract:
for file in ${DJGPP_FILES}; do \
unzip -Loq ${_DISTDIR}/$$file; \
done; \
for file in `${FIND} include -type f`; do \
for file in `${FIND} include -type f -print`; do \
${CAT} $$file | col >$$file.new; \
${MV} -f $$file.new $$file; \
done

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.10 2003/07/17 21:29:09 grant Exp $
# $NetBSD: Makefile.common,v 1.11 2004/01/27 00:53:10 heinz Exp $
DISTNAME= unixODBC-${ODBC_DIST_VERS}
PKGREVISION= 1
@ -42,7 +42,7 @@ post-patch: fix-ltdl-and-lexlib
fix-driver-installation:
cd ${WRKSRC}; \
files=`${FIND} ODBCConfig DRVConfig Drivers -name Makefile.in`; \
files=`${FIND} ODBCConfig DRVConfig Drivers -name Makefile.in -print`;\
for file in $${files}; do \
${SED} -e "s|^\(libdir =\).*|\1 ${PREFIX}/${UNIXODBC_DRIVERS_DIR}|g" \
$${file} >> $${file}.fixed; \
@ -51,7 +51,7 @@ fix-driver-installation:
fix-ltdl-and-lexlib:
cd ${WRKSRC}; \
files=`${FIND} . -name Makefile.in`; \
files=`${FIND} . -name Makefile.in -print`; \
for file in $${files}; do \
${SED} -e "/DEPENDENCIES/s|\$$(LIBLTDL)||g" \
-e "/LIBADD/s|@LEXLIB@|\$$(LEXLIB)|g" \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.38 2003/07/17 21:31:50 grant Exp $
# $NetBSD: Makefile,v 1.39 2004/01/27 00:53:12 heinz Exp $
#
DISTNAME= pthreads-1_60_beta6
@ -40,7 +40,7 @@ pre-install:
post-install:
@${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a
@${FIND} ${PREFIX}/pthreads/include -name '*.orig' | ${XARGS} ${RM}
@${FIND} ${PREFIX}/pthreads/include -name '*.orig' -print | ${XARGS} ${RM}
@${FIND} ${PREFIX}/pthreads/include -type f -print | ${XARGS} ${CHMOD} 644
@${FIND} ${PREFIX}/pthreads/include -type d -print | ${XARGS} ${CHMOD} 755
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/pthreads/include

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.42 2003/07/17 21:33:14 grant Exp $
# $NetBSD: Makefile,v 1.43 2004/01/27 00:53:12 heinz Exp $
DISTNAME= PTL-2.1.9
PKGNAME= ptl-2.1.9
@ -18,18 +18,18 @@ PLIST_SRC= ${WRKDIR}/PLIST
post-install:
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/PTL/include
@${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" | ${XARGS} ${RM}
@${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" -print | ${XARGS} ${RM}
@${FIND} ${PREFIX}/PTL/include -type d -print | ${XARGS} ${CHMOD} 755
@${FIND} ${PREFIX}/PTL/include -type f -print | ${XARGS} ${CHMOD} 444
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@cd ${PREFIX}; \
${FIND} PTL -type f >>${PLIST_SRC}; \
for LINK in `${FIND} PTL -type l`; do \
${FIND} PTL -type f -print >>${PLIST_SRC}; \
for LINK in `${FIND} PTL -type l -print`; do \
set - X `${FILE_CMD} $$LINK`; \
${ECHO} "@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
${ECHO} "@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \
done; \
for DIR in `${FIND} PTL -type d | sort -r`; do \
for DIR in `${FIND} PTL -type d -print | sort -r`; do \
if [ -z "`ls $$DIR`" ]; then \
${ECHO} "@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \
fi; \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.4 2003/07/17 21:33:37 grant Exp $
# $NetBSD: Makefile.common,v 1.5 2004/01/27 00:53:10 heinz Exp $
DISTNAME= rt-2-0-13
CATEGORIES= devel
@ -90,7 +90,7 @@ DEPENDS+= p5-Apache-DBI-[0-9]*:../../databases/p5-Apache-DBI
pre-configure:
@${ECHO} "=> Removing CVS directories from work directory"
@${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -rf
@${FIND} ${WRKSRC} -name CVS -type d -print | ${XARGS} ${RM} -rf
@${CP} ${FILESDIR}/rtconfig ${WRKSRC}/rtconfig
@${CP} ${FILESDIR}/README ${WRKSRC}/README.pkg
@cd ${WRKSRC} ; \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2004/01/22 08:24:31 grant Exp $
# $NetBSD: Makefile,v 1.15 2004/01/27 00:53:12 heinz Exp $
DISTNAME= STLport-4.6
PKGNAME= stlport-4.6
@ -28,7 +28,7 @@ HTMLDIR= ${PREFIX}/share/doc/html/stlport
pre-install:
cd ${WRKSRC}/stlport && ${RM} -rf BC50 config/new_compiler old_hp
${FIND} ${WRKSRC}/stlport -name "*.orig" | ${XARGS} ${RM} -f
${FIND} ${WRKSRC}/stlport -name "*.orig" -print | ${XARGS} ${RM} -f
do-install:
cd ${WRKSRC} && ${PAX} -rw stlport ${PREFIX}/include

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.38 2003/07/17 21:34:16 grant Exp $
# $NetBSD: Makefile,v 1.39 2004/01/27 00:53:12 heinz Exp $
#
DISTNAME= unproven-pthreads-0.17
@ -44,7 +44,7 @@ do-install:
post-install:
@${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a
@${FIND} ${PREFIX}/pthreads/include -name '*.orig' | ${XARGS} ${RM}
@${FIND} ${PREFIX}/pthreads/include -name '*.orig' -print | ${XARGS} ${RM}
@${FIND} ${PREFIX}/pthreads/include -type f -print | ${XARGS} ${CHMOD} 644
@${FIND} ${PREFIX}/pthreads/include -type d -print | ${XARGS} ${CHMOD} 755
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/pthreads/include

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2004/01/22 08:30:30 grant Exp $
# $NetBSD: Makefile,v 1.8 2004/01/27 00:53:12 heinz Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
DISTNAME= emacs-21.3
@ -32,7 +32,7 @@ post-extract:
${CP} ${FILESDIR}/site-init.el ${WRKSRC}/lisp
pre-install:
@${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f
@${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.66 2004/01/22 08:30:30 grant Exp $
# $NetBSD: Makefile,v 1.67 2004/01/27 00:53:12 heinz Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
DISTNAME= emacs-21.3
@ -64,7 +64,7 @@ post-extract:
${CP} ${FILESDIR}/site-init.el ${WRKSRC}/lisp
pre-install:
@${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f
@${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2004/01/22 08:30:30 grant Exp $
# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:11 heinz Exp $
DISTNAME= emacs-20.7
PKGREVISION= 2
@ -80,7 +80,7 @@ INFO_FILES= emacs vip viper forms gnus mh-e cl sc dired-x ediff \
INSTALL_PROGRAM=${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
pre-install:
@${FIND} ${WRKSRC} -type f -name "*.orig*" | ${XARGS} ${RM} -f
@${FIND} ${WRKSRC} -type f -name "*.orig*" -print | ${XARGS} ${RM} -f
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.66 2004/01/03 18:49:39 reed Exp $
# $NetBSD: Makefile,v 1.67 2004/01/27 00:53:11 heinz Exp $
DISTNAME= xemacs-21.4.14
PKGREVISION= 1
@ -137,7 +137,7 @@ post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${DISTNAME}
${INSTALL_DATA_DIR} ${PREFIX}/lib/xemacs
.if defined(MANZ)
${FIND} ${PREFIX}/lib/${DISTNAME} -name "*.el" -type f | \
${FIND} ${PREFIX}/lib/${DISTNAME} -name "*.el" -type f -print | \
${XARGS} ${GZIP_CMD}
.endif

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2003/07/17 21:35:34 grant Exp $
# $NetBSD: Makefile,v 1.19 2004/01/27 00:53:11 heinz Exp $
DISTNAME= locales-2.1-1mdk
PKGNAME= linux-locale-2.1.1
@ -45,7 +45,7 @@ CHECK_SHLIBS= no
do-install:
@${RM} -f ${CPIOLIST}
@(cd ${EMULDIR}; \
${FIND} usr/share/locale -name "*" > ${EXCLUDELIST})
${FIND} usr/share/locale -name "*" -print > ${EXCLUDELIST})
.for f in ${DISTFILES}
@rpm2cpio ${DISTDIR}/${DIST_SUBDIR}/${f} | \
cpio -t -v -f -E ${EXCLUDELIST} >> ${CPIOLIST}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2004/01/22 08:38:29 grant Exp $
# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:11 heinz Exp $
DISTNAME= t1lib-1.3.1
CATEGORIES= fonts devel graphics
@ -25,7 +25,7 @@ CONF_FILES= ${EGDIR}/t1lib.config.sample ${DATADIR}/t1lib.config
CONF_FILES+= ${EGDIR}/FontDataBase ${DATADIR}/FontDataBase
pre-build:
${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM}
${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM}
post-install:
${INSTALL_DATA_DIR} ${DATADIR}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2004/01/24 13:30:55 grant Exp $
# $NetBSD: Makefile,v 1.13 2004/01/27 00:53:12 heinz Exp $
DISTNAME= craftcc35
PKGNAME= craft-3.5
@ -15,9 +15,9 @@ USE_GNU_TOOLS+= make
USE_X11BASE= yes
post-extract:
@${FIND} ${WRKSRC} -type f -name '*~' | ${XARGS} ${RM} -f
@${FIND} ${WRKSRC} -type f -name '*~' -print | ${XARGS} ${RM} -f
@${LN} -fs ${FILESDIR}/Makefile ${WRKSRC}
for FILE in `find ${WRKSRC} -name "*.hc" -type f`; do \
for FILE in `${FIND} ${WRKSRC} -name "*.hc" -type f -print`; do \
echo >>$$FILE ""; \
done

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2004/01/24 13:30:56 grant Exp $
# $NetBSD: Makefile,v 1.17 2004/01/27 00:53:11 heinz Exp $
#
DISTNAME= iso-pern_src-0_2_6
@ -42,7 +42,7 @@ do-install:
${PREFIX}/share/iso-pernangband
${CHOWN} -R bin:games ${PREFIX}/share/iso-pernangband
${CHMOD} -R 0664 ${PREFIX}/share/iso-pernangband
${FIND} ${PREFIX}/share/iso-pernangband -type d | ${XARGS} ${CHMOD} 0775
${FIND} ${PREFIX}/share/iso-pernangband -type d -print | ${XARGS} ${CHMOD} 0775
${INSTALL} -c -s -o bin -g games -m 2755 \
${WRKSRC}/testing \
${PREFIX}/bin/iso-pernangband

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2004/01/24 13:30:56 grant Exp $
# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:11 heinz Exp $
#
DISTNAME= mirrormagic-2.0.2
@ -37,11 +37,11 @@ do-install:
${RM} -f ${WRKDIR}/PLIST
.for levdir in Classic_Games
cd ${PREFIX} && \
${FIND} share/mirrormagic/levels/${levdir} -type f >>${WRKDIR}/PLIST
${FIND} share/mirrormagic/levels/${levdir} -type f -print >>${WRKDIR}/PLIST
.endfor
.for directory in graphics music sounds
cd ${PREFIX} && \
${FIND} share/mirrormagic/${directory} -type f >>${WRKDIR}/PLIST
${FIND} share/mirrormagic/${directory} -type f -print >>${WRKDIR}/PLIST
.endfor
${CHOWN} -R games:games ${SCORE_PATH}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2004/01/24 13:30:56 grant Exp $
# $NetBSD: Makefile,v 1.18 2004/01/27 00:53:11 heinz Exp $
#
DISTNAME= mirrormagic-2.0.2
@ -34,11 +34,11 @@ do-install:
${RM} -f ${WRKDIR}/PLIST
.for levdir in Classic_Games
cd ${PREFIX} && \
${FIND} share/mirrormagic/levels/${levdir} -type f >>${WRKDIR}/PLIST
${FIND} share/mirrormagic/levels/${levdir} -type f -print >>${WRKDIR}/PLIST
.endfor
.for directory in graphics music sounds
cd ${PREFIX} && \
${FIND} share/mirrormagic/${directory} -type f >>${WRKDIR}/PLIST
${FIND} share/mirrormagic/${directory} -type f -print >>${WRKDIR}/PLIST
.endfor
${CHOWN} -R games:games ${SCORE_PATH}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2003/07/17 21:39:16 grant Exp $
# $NetBSD: Makefile,v 1.16 2004/01/27 00:53:11 heinz Exp $
#
DISTNAME= pysol-4.81
@ -32,9 +32,9 @@ do-install:
post-install:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@(cd ${PREFIX}; \
${FIND} share/pysol \( -type f -or -type l \) | \
${FIND} share/pysol \( -type f -or -type l \) -print | \
sort >> ${PLIST_SRC}; \
for DIR in `${FIND} share/pysol -type d | sort -r`; do \
for DIR in `${FIND} share/pysol -type d -print | sort -r`; do \
${ECHO} "@dirrm $$DIR" >> ${PLIST_SRC}; \
done)

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/07/17 21:39:20 grant Exp $
# $NetBSD: Makefile,v 1.6 2004/01/27 00:53:11 heinz Exp $
DISTNAME= rocksndiamonds-levels-1.0
CATEGORIES= games x11
@ -72,7 +72,7 @@ do-install:
${RM} -f ${WRKDIR}/PLIST
.for levdir in DX_Boulderdash Emerald_Mine_Club Supaplex
cd ${PREFIX} && \
${FIND} share/rocksndiamonds/levels/${levdir} -type f >>${WRKDIR}/PLIST
${FIND} share/rocksndiamonds/levels/${levdir} -type f -print >>${WRKDIR}/PLIST
.endfor
${CHOWN} -R games:games ${SCORE_PATH}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.23 2003/11/11 12:32:36 wiz Exp $
# $NetBSD: Makefile,v 1.24 2004/01/27 00:53:11 heinz Exp $
DISTNAME= Rollemup
PKGNAME= rollemup-1.0
@ -56,8 +56,8 @@ do-install:
${PREFIX}/${GAMES_DIR}/Rollemup
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@(cd ${PREFIX}; \
${FIND} ${GAMES_DIR}/Rollemup -type f >> ${PLIST_SRC}; \
for DIR in `${FIND} ${GAMES_DIR}/Rollemup -type d | sort -r`; do \
${FIND} ${GAMES_DIR}/Rollemup -type f -print >> ${PLIST_SRC}; \
for DIR in `${FIND} ${GAMES_DIR}/Rollemup -type d -print | sort -r`; do \
${ECHO} "@dirrm $$DIR" >> ${PLIST_SRC}; \
done)
@${CHOWN} ${ROOT_USER}:games ${PREFIX}/bin/Rollemup

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2004/01/24 13:30:57 grant Exp $
# $NetBSD: Makefile,v 1.8 2004/01/27 00:53:11 heinz Exp $
#
DISTNAME= tuxmath-2001.09.07-0102
@ -17,7 +17,7 @@ USE_GNU_TOOLS+= make
NO_CONFIGURE= # defined
pre-install:
${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -rf
${FIND} ${WRKSRC} -name CVS -type d -print | ${XARGS} ${RM} -rf
${RM} -rf ${WRKSRC}/data/images/.xvpics
${RM} -rf ${WRKSRC}/data/images/status/.xvpics

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2004/01/05 20:38:34 jlam Exp $
# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:11 heinz Exp $
PKGNAME= aalib-x11-${BASE_VERS}
CATEGORIES+= x11
@ -28,7 +28,7 @@ post-patch:
$${file} > $${file}.fixed; \
${MV} -f $${file}.fixed $${file}; \
done
@for f in `${FIND} ${WRKSRC} -name '*.[ch]'`; do \
@for f in `${FIND} ${WRKSRC} -name '*.[ch]' -print`; do \
${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \
&& ${MV} $$f.patch $$f; \
done

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.13 2004/01/24 01:33:49 kristerw Exp $
# $NetBSD: Makefile.common,v 1.14 2004/01/27 00:53:10 heinz Exp $
DISTNAME= aalib-${DIST_VERS}
CATEGORIES+= graphics
@ -26,7 +26,7 @@ GCC_REQD= 2.95.3
.if !target(post-patch)
post-patch:
@for f in `${FIND} ${WRKSRC} -name '*.[ch]'`; do \
@for f in `${FIND} ${WRKSRC} -name '*.[ch]' -print`; do \
${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \
&& ${MV} $$f.patch $$f; \
done

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2004/01/20 12:18:17 agc Exp $
# $NetBSD: Makefile,v 1.19 2004/01/27 00:53:11 heinz Exp $
DISTNAME= tcm-2.01.src
PKGNAME= tcm-2.01
@ -43,7 +43,7 @@ do-configure:
-e "s|@X11BASE@|${X11BASE}|g" \
-e "s|@LOCALBASE@|${LOCALBASE}|g" \
${WRKSRC}/gl/system.c.dist > ${WRKSRC}/gl/system.c
for f in `${FIND} ${WRKSRC} -name \*.c`; do \
for f in `${FIND} ${WRKSRC} -name \*.c -print`; do \
${MV} -f $$f $$f`${ECHO} c`; \
done
${MV} -f ${WRKSRC}/gl/text2ps.cc ${WRKSRC}/gl/text2ps.c

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.31 2004/01/20 12:18:17 agc Exp $
# $NetBSD: Makefile,v 1.32 2004/01/27 00:53:11 heinz Exp $
DISTNAME= urt
PKGNAME= urt-3.1b1
@ -34,7 +34,7 @@ post-install:
cd ${PREFIX}/share/doc/urt && (\
${GTAR} xf ${DISTDIR}/urt-doc.tar; \
cd doc; \
${FIND} -d . | cpio -dump ..; \
${FIND} -d . -print | cpio -dump ..; \
cd ..; \
${RM} -rf doc)
cd ${PREFIX}/share/examples/urt && (\

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2003/09/23 15:06:59 uebayasi Exp $
# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:11 heinz Exp $
#
.include "../canna/Makefile.common"
@ -18,7 +18,7 @@ post-patch:
@${MV} ${WRKSRC}/Canna.conf ${WRKSRC}/Canna.conf.orig
@${SED} -e 's|\(DicDir.*=\).*|\1${IMDICTDIR}/canna|' \
${WRKSRC}/Canna.conf.orig > ${WRKSRC}/Canna.conf
@for file in `${FIND} ${WRKSRC}/dic/ideo -name Imakefile`; do \
@for file in `${FIND} ${WRKSRC}/dic/ideo -name Imakefile -print`; do \
${MV} $$file $$file.orig; \
${SED} ${CANNA_CMD_SED_SCRIPT} $$file.orig > $$file; \
done

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.6 2004/01/20 12:18:53 agc Exp $
# $NetBSD: Makefile.common,v 1.7 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= FreeWnn-1.10
@ -46,7 +46,7 @@ MAKE_ENV+= "KWNNDIR=${KWNNDIR}"
GNU_CONFIGURE= YES
post-patch:
@for file in `${FIND} ${WRKSRC} -name Makefile.in`; do \
@for file in `${FIND} ${WRKSRC} -name Makefile.in -print`; do \
${MV} $$file $$file.orig; \
${SED} -e '/PREFIX = /d' \
-e 's|\(WNNBINDIR = $${PREFIX}/\)\(bin\)|\1s\2|' \
@ -57,7 +57,7 @@ post-patch:
${SEDSCRIPT} \
$$file.orig > $$file; \
done
@for file in `${FIND} ${WRKSRC}/Wnn/man -name Makefile.in`; do \
@for file in `${FIND} ${WRKSRC}/Wnn/man -name Makefile.in -print`; do\
${MV} $$file $$file.orig2; \
${SED} -e 's|\(MANPATH = .*\)|\1/ja_JP.EUC|' \
$$file.orig2 > $$file; \
@ -83,7 +83,7 @@ post-install:
EVAL_PREFIX+= WNNSERVERBINDIR=ja-FreeWnn-server-bin
pre-build:
@for file in `${FIND} ${WRKSRC}/Wnn/pubdic ${WRKSRC}/Wnn/wnncons -name Makefile`; do \
@for file in `${FIND} ${WRKSRC}/Wnn/pubdic ${WRKSRC}/Wnn/wnncons -name Makefile -print`; do \
${MV} $$file $$file.orig2; \
${SED} -e 's|\(ATOD = \).*|\1${WNNSERVERBINDIR}/sbin/atod|' \
-e 's|\(ATOF = \).*|\1${WNNSERVERBINDIR}/sbin/atof|' \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/07/31 12:33:03 jmmv Exp $
# $NetBSD: Makefile,v 1.6 2004/01/27 00:53:11 heinz Exp $
#
DISTNAME= sj3-2.0.1.20
@ -34,7 +34,7 @@ pre-configure:
@${MV} ${WRKSRC}/dict/Imakefile ${WRKSRC}/dict/Imakefile.orig
@${SED} -e 's|\(SUBDIRS = .*\)dict|\1|' \
${WRKSRC}/dict/Imakefile.orig > ${WRKSRC}/dict/Imakefile
@for file in `${FIND} ${WRKSRC} -name Imakefile`; do \
@for file in `${FIND} ${WRKSRC} -name Imakefile -print`; do \
${MV} -f $$file $$file.orig; \
${SED} -e 's|\(= \).*/lib\(sj3lib\).a|\1-l\2|' \
$$file.orig > $$file; \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2004/01/20 12:19:16 agc Exp $
# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:11 heinz Exp $
DISTNAME= bwbasic-2.20
PKGREVISION= 1
@ -18,8 +18,8 @@ SHARE_DIR= ${PREFIX}/share/bwbasic
post-install:
${INSTALL_DATA_DIR} ${SHARE_DIR}
${CP} -r ${WRKSRC}/bwbtest ${SHARE_DIR}
${FIND} ${SHARE_DIR} -type d | ${XARGS} ${CHMOD} ${BINMODE}
${FIND} ${SHARE_DIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
${FIND} ${SHARE_DIR} -type d -print | ${XARGS} ${CHMOD} ${BINMODE}
${FIND} ${SHARE_DIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
${INSTALL_MAN} ${WRKSRC}/bwbasic.doc ${PREFIX}/man/man1/bwbasic.1
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2004/01/24 13:51:14 grant Exp $
# $NetBSD: Makefile,v 1.17 2004/01/27 00:53:11 heinz Exp $
#
DISTNAME= plt.src.x
@ -46,7 +46,7 @@ post-patch:
@${MV} -f ${WRKSRC}/mred/Makefile.in ${WRKSRC}/foo
@${SED} -e 's|@X11PREFIX@|${X11PREFIX}|' < ${WRKSRC}/foo > ${WRKSRC}/mred/Makefile.in
@${RM} -f ${WRKSRC}/foo
@${FIND} ${WRKDIR} -name '*.orig' | ${XARGS} ${RM} -f
@${FIND} ${WRKDIR} -name '*.orig' -print | ${XARGS} ${RM} -f
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/plt/collects

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2004/01/24 13:51:14 grant Exp $
# $NetBSD: Makefile,v 1.18 2004/01/27 00:53:11 heinz Exp $
DISTNAME= mercury-compiler-0.11.0
PKGNAME= mercury-0.11.0
@ -33,8 +33,8 @@ do-build:
do-install:
cd ${WRKSRC}/tmp && ${PAX} -rw . ${PREFIX}
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mercury
${FIND} ${WRKSRC} -type d -name "CVS" | ${XARGS} ${RM} -fr
${FIND} ${WRKSRC} -type f -name ".cvsignore" | ${XARGS} ${RM} -f
${FIND} ${WRKSRC} -type d -name "CVS" -print | ${XARGS} ${RM} -fr
${FIND} ${WRKSRC} -type f -name ".cvsignore" -print | ${XARGS} ${RM} -f
cd ${WRKSRC}/samples && ${PAX} -rw . ${PREFIX}/share/examples/mercury
.include "../../devel/readline/buildlink2.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2004/01/24 13:51:14 grant Exp $
# $NetBSD: Makefile,v 1.27 2004/01/27 00:53:11 heinz Exp $
DISTNAME= nhc98src-1.16
PKGNAME= nhc98-1.16
@ -33,7 +33,7 @@ HARCH= `${WRKSRC}/script/harch`
PLIST_SUBST+= HARCH=${HARCH}
post-extract:
@${FIND} ${WRKSRC}/docs -type d -name \*CVS\* | ${XARGS} ${RM} -rf
@${FIND} ${WRKSRC}/docs -type d -name \*CVS\* -print | ${XARGS} ${RM} -rf
.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2004/01/24 13:51:15 grant Exp $
# $NetBSD: Makefile,v 1.15 2004/01/27 00:53:11 heinz Exp $
DISTNAME= sather-1.2.1
PKGREVISION= 2
@ -78,7 +78,7 @@ do-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/sather/Library \
${PREFIX}/lib/sather/System
${FIND} ${PREFIX}/lib/sather -name \*.config -o -name Makefile \
-o -name \*.orig | ${XARGS} ${RM} -f
-o -name \*.orig -print | ${XARGS} ${RM} -f
${INSTALL_DATA} ${WRKSRC}/Emacs/*.info* ${PREFIX}/info
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sather
cd ${WRKSRC}/Doc && ${PAX} -rw . ${PREFIX}/share/doc/sather

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2003/08/09 11:08:55 seb Exp $
# $NetBSD: Makefile,v 1.17 2004/01/27 00:53:11 heinz Exp $
DISTNAME= wl-2.10.0
CATEGORIES= mail
@ -27,7 +27,7 @@ PLIST_SRC= ${WRKDIR}/PLIST
post-build:
@{ \
${CAT} ${PKGDIR}/PLIST.header; \
${FIND} ${WRKSRC} -name '*.elc' | \
${FIND} ${WRKSRC} -name '*.elc' -print | \
while read f; do \
g=$$(basename $$f); \
echo '$${EMACS_LISPPREFIX}/wl/'$${g%.elc}.el; \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.42 2004/01/24 13:58:23 grant Exp $
# $NetBSD: Makefile,v 1.43 2004/01/27 00:53:11 heinz Exp $
# FreeBSD Id: Makefile,v 1.18 1998/09/27 20:10:45 steve Exp
DISTNAME= octave-2.0.17
@ -35,7 +35,7 @@ INFO_FILES= liboctave.info octave.info
LIBOCTAVE_INFO= liboctave.info liboctave.info-1 liboctave.info-2 liboctave.info-3
post-extract:
${FIND} ${WRKSRC}/doc -type f -name \*.info\* | ${XARGS} ${RM} -f
${FIND} ${WRKSRC}/doc -type f -name \*.info\* -print | ${XARGS} ${RM} -f
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/octave/2.0.17/doc

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2002/05/31 09:14:50 uebayasi Exp $
# $NetBSD: Makefile,v 1.13 2004/01/27 00:53:11 heinz Exp $
#
DISTNAME= fileutils-3.12
@ -20,7 +20,7 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
GNU_CONFIGURE= yes
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | \
@${FIND} ${WRKSRC} -name Makefile.in -print | \
while read f; do \
${CP} $$f $${f}.orig; \
${SED} -e 's|^\(etcdir = \).*$$|\1${PKG_SYSCONFDIR}|g' $${f}.orig >$$f; \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2003/07/21 17:01:27 martti Exp $
# $NetBSD: Makefile,v 1.9 2004/01/27 00:53:11 heinz Exp $
#
DISTNAME= tds-1.4.2
@ -15,6 +15,6 @@ GNU_CONFIGURE= YES
NO_BUILD= YES
post-patch:
@${FIND} ${WRKSRC} -type f -name '*.orig' | ${XARGS} ${RM} -f
@${FIND} ${WRKSRC} -type f -name '*.orig' -print | ${XARGS} ${RM} -f
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2003/07/21 17:11:16 martti Exp $
# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= sitescooper-2.2.8
@ -27,7 +27,7 @@ do-configure:
<${file}.orig >${file} && \
${RM} ${file}.orig
.endfor
${RM} -rf `${FIND} ${WRKSRC}/* -name CVS -type d`
${RM} -rf `${FIND} ${WRKSRC}/* -name CVS -type d -print`
do-install:
.for file in sitescooper rss-to-site subs-to-site

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2003/10/29 18:43:20 cube Exp $
# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= xipdump-1.5.4
@ -23,7 +23,7 @@ LIBS= `${LIBNET_CONFIG} --libs`
post-build:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d | \
@(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d -print | \
${SED} -e 's|^|share/xipdump/|' >> ${PLIST_SRC})
@${ECHO} "@dirrm share/xipdump/pkt" >> ${PLIST_SRC}
@${ECHO} "@dirrm share/xipdump/pkc" >> ${PLIST_SRC}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2004/01/20 12:24:29 agc Exp $
# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $
DISTNAME= TeXfamily-share-1.2.1
PKGREVISION= 4
@ -54,13 +54,13 @@ do-install:
post-install:
@cd ${PREFIX}; \
${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}; \
${FIND} share/texmf.local -type f|sort >> ${PLIST_SRC}; \
for LINK in `${FIND} share/texmf.local -type l`; do \
${FIND} share/texmf.local -type f -print |sort >> ${PLIST_SRC}; \
for LINK in `${FIND} share/texmf.local -type l -print`; do \
set - X `${FILE} $$LINK`; \
${ECHO} "@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
${ECHO} "@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \
done; \
for DIR in `${FIND} share/texmf.local -type d | sort -r`; do \
for DIR in `${FIND} share/texmf.local -type d -print | sort -r`; do \
if [ -z "`ls $$DIR`" ]; then \
${ECHO} "@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \
fi; \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.11 2004/01/09 19:37:48 jlam Exp $
# $NetBSD: Makefile.common,v 1.12 2004/01/27 00:53:10 heinz Exp $
#
# This Makefile fragment should be included _below_ any SASL_PLUGIN
# definition and _above_ any CONFIGURE_ARGS definitions.
@ -73,7 +73,7 @@ CONFIGURE_ARGS+= --without-pam
# clean up a bit to help package maintainer produce patch files
post-extract:
${_PKG_SILENT}${_PKG_DEBUG} \
${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f
${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f
# Left here as reference for patch makers...
#pre-configure:

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2002/03/22 03:48:18 itojun Exp $
# $NetBSD: Makefile,v 1.4 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= NeTraMet44
@ -14,7 +14,7 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--without-x
post-patch:
for i in `${FIND} ${WRKSRC} -name Makefile.in`; do \
for i in `${FIND} ${WRKSRC} -name Makefile.in -print`; do \
${SED} "s,CFLAGS=,CFLAGS+=,g" $$i > $$i.done; \
${MV} $$i.done $$i; \
done

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/07/21 17:24:41 martti Exp $
# $NetBSD: Makefile,v 1.6 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= tkdesk-1.2
@ -18,7 +18,7 @@ CONFIGURE_ARGS+=--with-tcl=${BUILDLINK_PREFIX.tcl}/lib \
pre-install:
${RM} -Rf ${WRKSRC}/tcldesk/configs/.trash
${FIND} ${WRKSRC}/tcldesk -type f -name '*.orig' | ${XARGS} ${RM} -rf
${FIND} ${WRKSRC}/tcldesk -type f -name '*.orig' -print | ${XARGS} ${RM} -rf
${FIND} ${WRKSRC}/tcldesk -name '*' -exec ${TOUCH} {} ';'
.include "../../lang/tcl/buildlink2.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2004/01/24 15:13:19 grant Exp $
# $NetBSD: Makefile,v 1.3 2004/01/27 00:53:10 heinz Exp $
DISTNAME= #
PKGNAME= dict-data-1.8.0
@ -54,7 +54,7 @@ do-build:
(cd ${WRKDIR}/$$d; \
${MAKE_PROGRAM} db); \
done
${FIND} ${WRKDIR} -name '*.dict' | \
${FIND} ${WRKDIR} -name '*.dict' -print | \
while read f; do \
if [ ! -f $${f}.dz ]; then \
${LOCALBASE}/bin/dictzip $$f; \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2004/01/20 12:26:50 agc Exp $
# $NetBSD: Makefile,v 1.15 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= RTF-1.10
@ -18,7 +18,7 @@ WRKSRC= ${WRKDIR}/rtf
INSTALL_TARGET= install install.man
post-patch:
for i in `${FIND} ${WRKSRC} -name Makefile`; do \
for i in `${FIND} ${WRKSRC} -name Makefile -print`; do \
${MV} $$i $$i.bak;\
${SED} <$$i.bak >$$i \
-e "s|-DVARARGS|-DSTDARGS|g" \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2003/12/24 09:53:50 jmmv Exp $
# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= troffcvt-1.04
@ -19,7 +19,7 @@ USE_PERL5= yes
INSTALL_TARGET= install install.man
post-patch:
for i in `${FIND} ${WRKSRC} -name Makefile`; do \
for i in `${FIND} ${WRKSRC} -name Makefile -print`; do \
${MV} $$i $$i.bak;\
${SED} <$$i.bak >$$i \
-e "s| -Dsun -DSVR4||" \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2004/01/24 15:13:20 grant Exp $
# $NetBSD: Makefile,v 1.12 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= Xalan-C_1_0-linux
@ -36,7 +36,7 @@ do-install:
${ECHO} creating ${PREFIX}/include/$${i}; \
${INSTALL_DATA_DIR} ${PREFIX}/include/$${i}; \
done; \
for i in `find $${XMLDIRS} -type f -name "*.hpp"`; do \
for i in `find $${XMLDIRS} -type f -name "*.hpp" -print`; do \
${ECHO} installing ${PREFIX}/include/$${i}; \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/include/$${i}; \
done

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 2004/01/03 18:49:54 reed Exp $
# $NetBSD: Makefile,v 1.20 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= enlightenment-0.16.6
@ -24,9 +24,9 @@ post-install:
for FILE in `${GREP} "\.directory$$" ${PKGDIR}/PLIST`; do \
${TOUCH} ${PREFIX}/$${FILE}; \
done
${FIND} ${PREFIX}/share/enlightenment/themes -type d | \
${FIND} ${PREFIX}/share/enlightenment/themes -type d -print | \
${XARGS} ${CHMOD} ${BINMODE}
${FIND} ${PREFIX}/share/enlightenment/themes -type f | \
${FIND} ${PREFIX}/share/enlightenment/themes -type f -print | \
${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../audio/esound/buildlink2.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2003/11/21 09:31:15 wiz Exp $
# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $
DISTNAME= ethemes-0.1
PKGREVISION= 2
@ -45,8 +45,8 @@ do-install:
.endfor
.for DIR in Absolute_E ApplePlatinum FinalE
cd ${PREFIX}/${E_DATADIR}/${DIR} \
&& ${CHMOD} go+rx `${FIND} . -type d` \
&& ${CHMOD} go+r `${FIND} . -type f`
&& ${CHMOD} go+rx `${FIND} . -type d -print` \
&& ${CHMOD} go+r `${FIND} . -type f -print`
.endfor
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.22 2004/01/20 12:28:00 agc Exp $
# $NetBSD: Makefile.common,v 1.23 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= w3m-${W3M_VERS}
@ -143,7 +143,7 @@ post-extract:
# @${LN} ${LIBWC_WRKSRC} ${WRKSRC}/libwc
post-patch:
@${FIND} ${WRKSRC} -type f -name '*.orig' | ${XARGS} ${RM}
@${FIND} ${WRKSRC} -type f -name '*.orig' -print | ${XARGS} ${RM}
# do not look at previous configuration
do-configure:

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2004/01/24 15:30:33 grant Exp $
# $NetBSD: Makefile,v 1.19 2004/01/27 00:53:10 heinz Exp $
DISTNAME= mlterm-2.7.0
PKGREVISION= 2
@ -29,7 +29,7 @@ CONFIGURE_ARGS+= --enable-anti-alias
CONFIGURE_ARGS+= --without-libiconv-prefix
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | \
@${FIND} ${WRKSRC} -name Makefile.in -print | \
while read f; do \
${MV} $$f $${f}.orig; \
${SED} \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2004/01/20 12:28:27 agc Exp $
# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= Pmw.0.8.5
@ -18,9 +18,9 @@ USE_BUILDLINK2= YES
do-build:
do-install:
(cd ${WRKDIR}; ${FIND} Pmw -type d | \
(cd ${WRKDIR}; ${FIND} Pmw -type d -print | \
${SED} -e 's,^,${PREFIX}/${PYSITELIB}/,' | ${XARGS} ${INSTALL_DATA_DIR})
(cd ${WRKDIR}; for f in `${FIND} Pmw -type f`; do \
(cd ${WRKDIR}; for f in `${FIND} Pmw -type f -print`; do \
${INSTALL_DATA} $$f ${PREFIX}/${PYSITELIB}/$$f; done)
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
(cd ${PREFIX}; ${FIND} ${PYSITELIB}/Pmw \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2004/01/24 15:30:34 grant Exp $
# $NetBSD: Makefile,v 1.23 2004/01/27 00:53:10 heinz Exp $
#
DISTNAME= rep-gtk-0.15
@ -23,9 +23,9 @@ post-install:
${INSTALL_ALIASES} -c ${FILESDIR} ${REPEXECDIR}
${RM} -f ${PLIST_SRC}
cd ${PREFIX} && ${FIND} libexec/rep/${MACHINE_GNU_PLATFORM} \
-name "gnomelib.*" > ${PLIST_SRC}
-name "gnomelib.*" -print > ${PLIST_SRC}
cd ${PREFIX} && ${FIND} libexec/rep/${MACHINE_GNU_PLATFORM}/gui/gnome \
-name "lib.*" >> ${PLIST_SRC}
-name "lib.*" -print >> ${PLIST_SRC}
${CAT} ${PKGDIR}/PLIST >> ${PLIST_SRC}
.include "../../devel/libglade/buildlink2.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2004/01/20 12:28:28 agc Exp $
# $NetBSD: Makefile,v 1.5 2004/01/27 00:53:10 heinz Exp $
# FreeBSD Id: ports/japanese/xjman/Makefile,v 1.10 1999/10/30 15:34:24 sada Exp
DISTNAME= xjman-0.5
@ -54,11 +54,11 @@ MKCATPAGES?= yes
post-build:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@(cd ${WRKSRC}; \
${FIND} man1/*.1 man3/*.3 man5/*.5 -type f | \
${FIND} man1/*.1 man3/*.3 man5/*.5 -type f -print | \
${SED} -e 's|^|${XJMANDIR}/|' | sort >> ${PLIST_SRC})
.if ${MKCATPAGES} != no
@(cd ${WRKSRC}; \
${FIND} man1/*.1 man3/*.3 man5/*.5 -type f | \
${FIND} man1/*.1 man3/*.3 man5/*.5 -type f -print | \
${SED} -e 's|^|${XJMANDIR}/|' \
-e 's|man[135]\(/.*\)\.\([135]\)$$|cat\2\1.0|' | \
sort >> ${PLIST_SRC})

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2003/07/17 22:57:03 grant Exp $#
# $NetBSD: Makefile,v 1.13 2004/01/27 00:53:10 heinz Exp $#
DISTNAME= xservers-3.3.6.3
CATEGORIES= x11
@ -55,8 +55,8 @@ do-configure:
post-install:
cd ${PREFIX} && \
${FIND} ${X11_SUBDIR} \! -type d | ${SORT} >${PLIST_SRC} && \
${FIND} ${X11_SUBDIR} -type d | ${SORT} -r | \
${FIND} ${X11_SUBDIR} \! -type d -print | ${SORT} >${PLIST_SRC} && \
${FIND} ${X11_SUBDIR} -type d -print | ${SORT} -r | \
${AWK} '{print("@dirrm "$$1)}' >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"