summaryrefslogtreecommitdiff
path: root/textproc/docbook-website
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-05-03 18:50:05 +0000
committerjmmv <jmmv@pkgsrc.org>2003-05-03 18:50:05 +0000
commit2674608d59f813e53e223c82249366d6309a4372 (patch)
tree24e7d269333d3f79e96b39a42b433223b63b2abd /textproc/docbook-website
parent9367d2e33a88dafa84cd1081254504803fdead89 (diff)
downloadpkgsrc-2674608d59f813e53e223c82249366d6309a4372.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/docbook-website')
-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