summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-05-03 18:50:05 +0000
committerjmmv <jmmv>2003-05-03 18:50:05 +0000
commit8e51c7ac542c7d632978f1809d3b2983d7d7a7ef (patch)
tree24e7d269333d3f79e96b39a42b433223b63b2abd /textproc
parentc909e1e636bbfb41dd5e2cf7d6eb4d06ec1f3a3c (diff)
downloadpkgsrc-8e51c7ac542c7d632978f1809d3b2983d7d7a7ef.tar.gz
Remove ".orig" files from the work directory before installing the package,
so they don't get copied. Use pax's -pm flag so that "make print-PLIST" works.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docbook-website/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/textproc/docbook-website/Makefile b/textproc/docbook-website/Makefile
index 7b53aef4ff1..ffbea200c65 100644
--- a/textproc/docbook-website/Makefile
+++ b/textproc/docbook-website/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/04/10 01:28:25 grant Exp $
+# $NetBSD: Makefile,v 1.7 2003/05/03 18:50:05 jmmv Exp $
#
DISTNAME= website-2.3
@@ -24,13 +24,14 @@ EGDIR= ${PREFIX}/share/examples/docbook-website
XML_CATALOGS= ${DTDDIR}/catalog
do-install:
+ cd ${WRKSRC} && ${FIND} . -name "*.orig" -exec ${RM} {} \;
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${DTDDIR}
${INSTALL_DATA_DIR} ${EGDIR}
- cd ${WRKSRC} && ${PAX} -rw ChangeLog README VERSION WhatsNew \
+ cd ${WRKSRC} && ${PAX} -rwpm ChangeLog README VERSION WhatsNew \
${DOCDIR}
- cd ${WRKSRC}/example && ${PAX} -rw . ${EGDIR}
- cd ${WRKSRC} && ${PAX} -rw VERSION extensions xsl *.dtd *.mod \
+ cd ${WRKSRC}/example && ${PAX} -rwpm . ${EGDIR}
+ cd ${WRKSRC} && ${PAX} -rwpm VERSION extensions xsl *.dtd *.mod \
${DTDDIR}
${INSTALL_DATA} ${FILESDIR}/catalog ${DTDDIR}/catalog