diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2005-09-08 18:25:30 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2005-09-08 18:25:30 +0000 |
commit | d571ee5fd27f244b50cc8e945efd09ad06932e3b (patch) | |
tree | 88a60c3a8b13f483765ae4de38c4c2f07fe9b74a /cad | |
parent | d547a1168d8f75bb9cb1fed6124f3e474a7dfac8 (diff) | |
download | pkgsrc-d571ee5fd27f244b50cc8e945efd09ad06932e3b.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/Makefile | 13 |
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 |