pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/geda-examples use tar for the install instead of p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/35ea44613c01
branches: trunk
changeset: 499073:35ea44613c01
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Thu Sep 08 18:25:30 2005 +0000
description:
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:
cad/geda-examples/Makefile | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 1edae246b2c2 -r 35ea44613c01 cad/geda-examples/Makefile
--- a/cad/geda-examples/Makefile Thu Sep 08 18:18:52 2005 +0000
+++ b/cad/geda-examples/Makefile Thu Sep 08 18:25:30 2005 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index