summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2005-09-08 18:25:30 +0000
committerdmcmahill <dmcmahill>2005-09-08 18:25:30 +0000
commit2ab448fac2b3bbf76cb9642bda43c7618df33cd6 (patch)
tree88a60c3a8b13f483765ae4de38c4c2f07fe9b74a /cad
parent9970202e2124c8a67a743b4141d3404fa33f7b8d (diff)
downloadpkgsrc-2ab448fac2b3bbf76cb9642bda43c7618df33cd6.tar.gz
use tar for the install instead of pax. Some versions of pax complained
when the destination directory did not exist first and others complained when it did exist first.
Diffstat (limited to 'cad')
-rw-r--r--cad/geda-examples/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/cad/geda-examples/Makefile b/cad/geda-examples/Makefile
index bd31acc87e3..0cbae74e6f9 100644
--- a/cad/geda-examples/Makefile
+++ b/cad/geda-examples/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/08/23 00:02:20 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.12 2005/09/08 18:25:30 dmcmahill Exp $
#
DISTNAME= geda-examples-${PKGVERSION}
@@ -13,16 +13,19 @@ CONFLICTS+= gEDA<19991011
.include "../../cad/geda/Makefile.common"
GNU_CONFIGURE= YES
-USE_TOOLS+= gmake
+USE_TOOLS+= find gmake tar
pre-install:
${RM} -f ${WRKSRC}/config.status.overridden
${RM} -f ${WRKSRC}/configure.lineno
do-install:
- cd ${WRKSRC} && ${PAX} -s '/.*Makefile.*//' -s '/.config.log//' \
- -s '/.*config.status//' \
- -rw . ${PREFIX}/share/examples/geda
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/geda
+ cd ${WRKSRC} && ${TAR} cf - . | \
+ (cd ${PREFIX}/share/examples/geda && ${TAR} xvf -)
+ ${FIND} ${PREFIX}/share/examples/geda \
+ \( -name \*Makefile\* -o -name config.log -o -name config.status \) \
+ -exec ${RM} {} \;
${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/examples/geda
${CHGRP} -R ${SHAREGRP} ${PREFIX}/share/examples/geda