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.
This commit is contained in:
dmcmahill 2005-09-08 18:25:30 +00:00
parent d547a1168d
commit d571ee5fd2

View file

@ -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