Try to clean out the last of the @dirrm lines

This commit is contained in:
David Brownlee 2011-11-21 19:08:56 +00:00 committed by Thomas Klausner
parent 017dc69748
commit 0c5892c178
24 changed files with 38 additions and 121 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2008/05/26 13:59:44 tnn2 Exp $
# $NetBSD: Makefile,v 1.9 2011/11/21 19:08:56 absd Exp $
#
DISTNAME= diveintopython-html-5.4
@ -24,7 +24,5 @@ do-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${DOC_SRCDIR} && pax -rw -pp * ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2009/01/09 17:06:57 fulviociriaco Exp $
# $NetBSD: Makefile,v 1.7 2011/11/21 19:08:56 absd Exp $
#
DISTNAME= gcc-${GCC_VERSION}
@ -250,9 +250,6 @@ post-install:
${FIND} ${GCC_PREFIX} \( -type f -o -type l \) -print \
| ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \
>> ${PLIST_SRC}
${FIND} ${GCC_PREFIX} -type d -print \
| ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \
>> ${PLIST_SRC}
.include "../../mk/bsd.prefs.mk"
#.if !empty(BUILD_ADA:M[Yy][Ee][Ss])

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2009/01/16 23:19:51 hoka_adam Exp $
# $NetBSD: Makefile,v 1.3 2011/11/21 19:08:56 absd Exp $
#
DISTNAME= gcc-${GCC_VERSION}
@ -119,9 +119,6 @@ post-install:
${FIND} ${GCC_PREFIX} \( -type f -o -type l \) -print \
| ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \
>> ${PLIST_SRC}
${FIND} ${GCC_PREFIX} -type d -print \
| ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \
>> ${PLIST_SRC}
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2008/05/26 13:59:44 tnn2 Exp $
# $NetBSD: Makefile,v 1.9 2011/11/21 19:08:56 absd Exp $
#
DISTNAME= CoreGuideJS15
@ -23,7 +23,5 @@ do-install:
cat ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${WRKDIR} && pax -rw -pp [a-z]* ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && find ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && find -d ${HTMLDIR} -type d -print | \
sed -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2008/05/26 13:59:44 tnn2 Exp $
# $NetBSD: Makefile,v 1.9 2011/11/21 19:08:56 absd Exp $
#
DISTNAME= CoreReferenceJS15
@ -25,7 +25,5 @@ do-install:
cd ${WRKDIR} && pax -rw -pp [a-z]* ${PREFIX}/${HTMLDIR}
${CHMOD} -R go-w ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2011/05/26 20:34:25 thomasklausner Exp $
# $NetBSD: Makefile,v 1.14 2011/11/21 19:08:56 absd Exp $
#
.include "../../wip/kaffe/Makefile.common"
@ -29,8 +29,6 @@ INSTALL_DIRS+= ${WRKSRC}/libraries/javalib/external/classpath/native/jawt
pre-build:
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} BUILD_ENVIRONMENT
PRINT_PLIST_AWK+= /^@dirrm/ { print "@comment in kaffe: " $$0; next; }
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../graphics/libart/buildlink3.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2009/05/19 09:00:09 thomasklausner Exp $
# $NetBSD: Makefile,v 1.8 2011/11/21 19:08:56 absd Exp $
DISTNAME= chstandard-4.0.0.linux2.2.5.intel
PKGNAME= linux-ch-4.0.0
@ -23,8 +23,6 @@ do-install:
${SED} -e "s|^|\$${EMULOPTSUBDIR}/|" >> ${PLIST_SRC}
cd ${EMULOPTDIR} && ${FIND} ch4.0.0 -type l | \
${SED} -e "s|^|\$${EMULOPTSUBDIR}/|" >> ${PLIST_SRC}
cd ${EMULOPTDIR} && ${FIND} -d ch4.0.0 -type d | \
${SED} -e "s/^/@dirrm \$${EMULOPTSUBDIR}\//" >>${PLIST_SRC}
.include "../../wip/mk/linuxbin.pkg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2009/05/19 09:00:09 thomasklausner Exp $
# $NetBSD: Makefile,v 1.13 2011/11/21 19:08:56 absd Exp $
DISTNAME= chprofessional-4.0.0.linux2.2.5.intel
PKGNAME= linux-chprofessional-4.0.0
@ -32,7 +32,5 @@ do-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${PREFIX} && ${FIND} chprofessional4.0.0 -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} chprofessional4.0.0 -type l -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d chprofessional4.0.0 -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -16,6 +16,3 @@ maybe could have seperate ${PREFIX}/include/asm-generic
directory (but maybe that is a waste of un-needed headers)
and then have include/asm and have symlink to include/asm-${LOWER_ARCH}
should put include/asm-generic, include/asm, include-${LOWER_ARCH}
and include/linux as @dirrm in PLIST.common

View file

@ -1,11 +1,10 @@
#!/bin/sh
#
# $NetBSD: mkplists,v 1.3 2004/06/12 22:45:33 jeremy-c-reed Exp $
# $NetBSD: mkplists,v 1.4 2011/11/21 19:08:57 absd Exp $
#
# Author: Martti Kuparinen <martti@NetBSD.org>
#
# This is an ugly script to generate the required PLIST.* files.
# Make sure you check the generated @dirrm statements!
#
# Usage:
#
@ -94,28 +93,12 @@ do
/bin/mv ${i}.new ${i}
done
echo "Adding @dirrm statements"
D=`grep -v @ /tmp/PLIST.* | cut -d: -f2 | sort | sed -e 's+\(.*\)/.*+\1+' -e 's+\(include/linux\)/.*+\1+' | sort | uniq`
for i in ${D}
do
echo "==> ${i}"
for j in `grep -l "${i}/" /tmp/PLIST.* | grep -v PLIST.common`
do
echo "@dirrm ${i}" >> ${j}
done
done
echo "Removing // and trailing / from PLIST files"
for i in /tmp/PLIST.*
do
sed -e 's+//+/+g' -e 's+/$++' < ${i} > ${i}.new
/bin/mv ${i}.new ${i}
done
for i in /tmp/PLIST.*
do
[ "${i}" = /tmp/PLIST.common ] && continue
grep -v '@dirrm include/asm$' < ${i} > ${i}.new
/bin/mv ${i}.new ${i}
done
echo "Removing the temporary files."
rm -rf /tmp/list-asm-* /tmp/asm-* /tmp/all

View file

@ -1,11 +1,10 @@
#!/bin/sh
#
# $NetBSD: mkplists,v 1.1 2004/01/30 13:10:52 marttikuparinen Exp $
# $NetBSD: mkplists,v 1.2 2011/11/21 19:08:57 absd Exp $
#
# Author: Martti Kuparinen <martti@NetBSD.org>
#
# This is an ugly script to generate the required PLIST.* files.
# Make sure you check the generated @dirrm statements!
#
# Usage:
#
@ -93,28 +92,12 @@ do
/bin/mv ${i}.new ${i}
done
echo "Adding @dirrm statements"
D=`grep -v @ /tmp/PLIST.* | cut -d: -f2 | sort | sed -e 's+\(.*\)/.*+\1+' -e 's+\(include/linux\)/.*+\1+' | sort | uniq`
for i in ${D}
do
echo "==> ${i}"
for j in `grep -l "${i}/" /tmp/PLIST.* | grep -v PLIST.common`
do
echo "@dirrm ${i}" >> ${j}
done
done
echo "Removing // and trailing / from PLIST files"
for i in /tmp/PLIST.*
do
sed -e 's+//+/+g' -e 's+/$++' < ${i} > ${i}.new
/bin/mv ${i}.new ${i}
done
for i in /tmp/PLIST.*
do
[ "${i}" = /tmp/PLIST.common ] && continue
grep -v '@dirrm include/asm$' < ${i} > ${i}.new
/bin/mv ${i}.new ${i}
done
echo "Removing the temporary files."
rm -rf /tmp/list-asm-* /tmp/asm-* /tmp/all

View file

@ -1,4 +1,4 @@
# $NetBSD: haskell.mk,v 1.17 2010/12/30 06:52:48 phonohawk Exp $
# $NetBSD: haskell.mk,v 1.18 2011/11/21 19:08:57 absd Exp $
#
# This Makefile fragment handles Haskell Cabal packages.
# See: http://www.haskell.org/cabal/
@ -199,8 +199,7 @@ CONFIGURE_ARGS+= -O2
# package.conf and package.conf.old should be ignored at all.
PRINT_PLIST_AWK+= \
/\/package\.conf(\.old)?$$/ { next; } \
/^@dirrm lib\/${_HASKELL_VERSION}$$/ { next; }
/\/package\.conf(\.old)?$$/ { next; }
# _HASKELL_VERSION should be substituted in PLIST.
PLIST_SUBST+= HASKELL_VERSION=${_HASKELL_VERSION}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2008/05/26 13:59:45 tnn2 Exp $
# $NetBSD: Makefile,v 1.8 2011/11/21 19:08:57 absd Exp $
#
DISTNAME= manual-split
@ -21,7 +21,5 @@ do-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${WRKSRC} && pax -rw -pe manual_* ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2008/05/26 13:59:45 tnn2 Exp $
# $NetBSD: Makefile,v 1.14 2011/11/21 19:08:57 absd Exp $
#
DISTNAME= nehe-opengl-tutorials-${NEHE_OPENGL_TUT_FLAVOUR}-0
@ -69,8 +69,6 @@ do-install:
cd ${WRKSRC} && pax -rw -pe [Ll]esson* ${PREFIX}/${NEHE_OPENGL_TUT_DIR}
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${PREFIX} && ${FIND} ${NEHE_OPENGL_TUT_DIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${NEHE_OPENGL_TUT_DIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"

View file

@ -6,7 +6,7 @@ diff -N MESSAGE
+++ MESSAGE 9 Nov 2005 22:12:02 -0000 1.1
@@ -0,0 +1,21 @@
+===========================================================================
+$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
+$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
+
+ * Before starting the OpenLDAP server slapd, you must either make
+ ${VARBASE}/openldap, or else set slapd_chrootdir in /etc/rc.conf to a
@ -135,14 +135,11 @@ diff -u -r1.1.1.9 -r1.2
share/openldap/ucdata/case.dat
share/openldap/ucdata/cmbcl.dat
share/openldap/ucdata/comp.dat
@@ -242,6 +240,7 @@
@@ -242,3 +240,4 @@
share/openldap/ucdata/decomp.dat
share/openldap/ucdata/kdecomp.dat
share/openldap/ucdata/num.dat
+@unexec ${RM} -f %D/share/openldap/ucdata/.chroot_timestamp
@dirrm share/openldap/ucdata
@dirrm share/openldap
@dirrm share/examples/openldap/schema
Index: distinfo
===================================================================
RCS file: /scratch/cvsroot/netbsd/pkgsrc/databases/openldap/distinfo,v
@ -332,8 +329,8 @@ diff -u -r1.1.1.4 -r1.2
--- patches/patch-af 29 Aug 2005 20:04:10 -0000 1.1.1.4
+++ patches/patch-af 9 Nov 2005 22:12:02 -0000 1.2
@@ -1,8 +1,8 @@
-$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
+$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
-$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
+$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
---- libraries/libldap/Makefile.in.orig 2005-01-20 12:01:01.000000000 -0500
+--- libraries/libldap/Makefile.in.orig Thu Jan 1 13:16:29 2004
@ -368,8 +365,8 @@ diff -u -r1.1.1.4 -r1.2
--- patches/patch-ag 29 Aug 2005 20:04:10 -0000 1.1.1.4
+++ patches/patch-ag 9 Nov 2005 22:12:02 -0000 1.2
@@ -1,8 +1,8 @@
-$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
+$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
-$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
+$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
--- servers/slapd/Makefile.in.orig 2004-07-25 18:31:04.000000000 -0400
-+++ servers/slapd/Makefile.in
@ -420,8 +417,8 @@ diff -u -r1.1.1.1 -r1.2
--- patches/patch-ak 2 Apr 2005 21:37:16 -0000 1.1.1.1
+++ patches/patch-ak 9 Nov 2005 22:12:02 -0000 1.2
@@ -1,8 +1,8 @@
-$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
+$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
-$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
+$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
--- servers/slurpd/Makefile.in.orig 2004-01-01 13:16:42.000000000 -0500
-+++ servers/slurpd/Makefile.in
@ -450,7 +447,7 @@ diff -N patches/patch-la
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-la 9 Nov 2005 22:12:02 -0000 1.1
@@ -0,0 +1,14 @@
+$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
+$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
+
+--- include/ldap_defaults.h.orig 2005-03-11 17:45:45.000000000 -0500
++++ include/ldap_defaults.h 2005-03-11 17:46:11.000000000 -0500
@ -471,7 +468,7 @@ diff -N patches/patch-lb
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-lb 9 Nov 2005 22:12:02 -0000 1.1
@@ -0,0 +1,15 @@
+$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
+$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
+
+--- libraries/libldap/ldap.conf.orig 2003-05-24 22:09:37.000000000 -0400
++++ libraries/libldap/ldap.conf
@ -493,7 +490,7 @@ diff -N patches/patch-lc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-lc 9 Nov 2005 22:12:02 -0000 1.1
@@ -0,0 +1,44 @@
+$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
+$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
+
+--- servers/slapd/slapd.conf.orig 2004-06-29 17:45:50.000000000 -0400
++++ servers/slapd/slapd.conf
@ -544,7 +541,7 @@ diff -N patches/patch-ld
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-ld 11 Nov 2005 01:33:21 -0000 1.1
@@ -0,0 +1,33 @@
+$NetBSD: openldap-package.diff,v 1.3 2005/11/11 01:43:18 aolcarton Exp $
+$NetBSD: openldap-package.diff,v 1.4 2011/11/21 19:08:57 absd Exp $
+
+--- servers/slapd/daemon.c.orig Fri Nov 11 01:21:32 2005
++++ servers/slapd/daemon.c

View file

@ -1,5 +1,5 @@
# $NetBSD: Makefile.template,v 1.7 2008/05/26 13:59:45 tnn2 Exp $
# $Id: Makefile.template,v 1.7 2008/05/26 13:59:45 tnn2 Exp $
# $NetBSD: Makefile.template,v 1.8 2011/11/21 19:08:57 absd Exp $
# $Id: Makefile.template,v 1.8 2011/11/21 19:08:57 absd Exp $
#####################################################################
# If the checksum does not match, please regen and bump the version.#
@ -31,8 +31,6 @@ do-install:
cd ${DOC_SRCDIR} && pax -rw -pe [a-z]* ${DESTDIR}${PREFIX}/${HTMLDIR}
${ECHO} "@comment This PLIST was autogenerated" >${PLIST_SRC}
cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${DESTDIR}${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../wip/php-doc/Makefile.common"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2008/05/26 13:59:45 tnn2 Exp $
# $NetBSD: Makefile,v 1.5 2011/11/21 19:08:57 absd Exp $
#
DISTNAME= Fnorb-Guide.html
@ -24,7 +24,5 @@ do-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${WRKSRC} && pax -rw -pe * ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2008/05/26 13:59:46 tnn2 Exp $
# $NetBSD: Makefile,v 1.6 2011/11/21 19:08:57 absd Exp $
#
DISTNAME= PEAK-0.5a3
@ -24,7 +24,5 @@ do-install:
cd ${DOC_SRCDIR}/html && pax -rw -pe reference ${PREFIX}/${HTMLDIR}
cd ${DOC_SRCDIR}/core_tutorial && pax -rw -pe tut ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2008/05/26 13:59:46 tnn2 Exp $
# $NetBSD: Makefile,v 1.7 2011/11/21 19:08:57 absd Exp $
#
DISTNAME= PyProtocols-0.9.2
@ -24,7 +24,5 @@ do-install:
cd ${DOC_SRCDIR} && pax -rw -pe * ${PREFIX}/${HTMLDIR}
cd ${DOC_SRCDIR}/../../ref/ && pax -rw -pe ref ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2008/05/26 13:59:46 tnn2 Exp $
# $NetBSD: Makefile,v 1.6 2011/11/21 19:08:57 absd Exp $
#
DISTNAME= py-gtk2-docs
@ -26,7 +26,5 @@ do-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${DOC_SRCDIR} && pax -rw -pe pygtk* ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.7 2008/05/26 13:59:46 tnn2 Exp $
# $Id: Makefile,v 1.7 2008/05/26 13:59:46 tnn2 Exp $
# $NetBSD: Makefile,v 1.8 2011/11/21 19:08:57 absd Exp $
# $Id: Makefile,v 1.8 2011/11/21 19:08:57 absd Exp $
DISTNAME= MySQL-python-0.9.2
PKGNAME= py-mysqldb-docs-0.9.2
@ -23,7 +23,5 @@ do-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${DOC_SRCDIR} && pax -rw -pe * ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2010/01/17 12:03:32 thomasklausner Exp $
# $NetBSD: Makefile,v 1.16 2011/11/21 19:08:57 absd Exp $
DISTNAME= Mail-SpamAssassin-${_SA_CVS_VER}
PKGNAME= spamassassin-cvs-${_SA_CVS_DATE}
@ -213,15 +213,12 @@ post-install:
fi; \
${ECHO} "${DOC_SUBDIR}/$$f" >> ${PLIST_ADD}; \
done; \
{ for d in `${FIND} ${DIR} -type d -print`; do \
${ECHO} "@dirrm ${DOC_SUBDIR}/$$d"; \
done; } | ${SORT} -r >> ${PLIST_ADD};
| ${SORT} -r >> ${PLIST_ADD};
.endfor
@cd ${WRKSRC}/rules; \
for f in [0-9]*.cf; do \
${ECHO} "${RULE_SUBDIR}/$$f" >> ${PLIST_ADD}; \
done
@${ECHO} "@dirrm ${RULE_SUBDIR}" >> ${PLIST_ADD}
@# examples are in the static PLIST
@${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${EGDIR}/
@${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${EGDIR}/

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.3 2009/09/20 21:24:29 shindenmorr Exp $
# $NetBSD: buildlink3.mk,v 1.4 2011/11/21 19:08:57 absd Exp $
BUILDLINK_TREE+= tcl
@ -19,9 +19,6 @@ BUILDLINK_TRANSFORM+= l:tcl85:tcl8.5
TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tcl8.5/tclConfig.sh
PRINT_PLIST_AWK+= /^@dirrm lib\/tcl$$/ \
{ print "@comment in tcl: " $$0; next; }
.include "../../mk/dlopen.buildlink3.mk"
.endif # TCL_BUILDLINK3_MK

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.1 2010/08/12 05:56:41 bharder Exp $
# $NetBSD: buildlink3.mk,v 1.2 2011/11/21 19:08:57 absd Exp $
BUILDLINK_TREE+= tcl86
@ -20,8 +20,6 @@ BUILDLINK_TRANSFORM+= l:tcl86:tcl8.6
TCLCONFIG_SH_DIR?= ${BUILDLINK_PREFIX.tcl86}/lib/
TCLCONFIG_SH?= ${TCLCONFIG_SH_DIR}/tclConfig.sh
PRINT_PLIST_AWK+= /^@dirrm lib\/tcl$$/ \
{ print "@comment in tcl: " $$0; next; }
.endif # TCL86_BUILDLINK3_MK
.include "../../mk/dlopen.buildlink3.mk"