diff options
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 |