Thu Apr 3 13:22:06 2008 UTC ()
Dramatically increase likelihood that this actually works.


(joerg)
diff -r1.18 -r1.19 pkgsrc/cad/geda-examples/Makefile

cvs diff -r1.18 -r1.19 pkgsrc/cad/geda-examples/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/cad/geda-examples/Attic/Makefile 2008/03/03 01:40:21 1.18
+++ pkgsrc/cad/geda-examples/Attic/Makefile 2008/04/03 13:22:06 1.19
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.18 2008/03/03 01:40:21 jlam Exp $ 1# $NetBSD: Makefile,v 1.19 2008/04/03 13:22:06 joerg Exp $
2# 2#
3 3
4DISTNAME= geda-examples-${PKGVERSION} 4DISTNAME= geda-examples-${PKGVERSION}
5CATEGORIES= cad 5CATEGORIES= cad
6 6
7MAINTAINER= dmcmahill@NetBSD.org 7MAINTAINER= dmcmahill@NetBSD.org
8HOMEPAGE= http://www.geda.seul.org/ 8HOMEPAGE= http://www.geda.seul.org/
9COMMENT= Examples for gEDA 9COMMENT= Examples for gEDA
10 10
11CONFLICTS+= gEDA<19991011 11CONFLICTS+= gEDA<19991011
12 12
13PKG_DESTDIR_SUPPORT= destdir 13PKG_DESTDIR_SUPPORT= destdir
14 14
@@ -16,20 +16,20 @@ PKG_DESTDIR_SUPPORT= destdir @@ -16,20 +16,20 @@ PKG_DESTDIR_SUPPORT= destdir
16 16
17GNU_CONFIGURE= YES 17GNU_CONFIGURE= YES
18USE_TOOLS+= find gmake tar 18USE_TOOLS+= find gmake tar
19 19
20CHECK_INTERPRETER_SKIP+= share/examples/* 20CHECK_INTERPRETER_SKIP+= share/examples/*
21 21
22pre-install: 22pre-install:
23 ${RM} -f ${WRKSRC}/config.status.overridden 23 ${RM} -f ${WRKSRC}/config.status.overridden
24 ${RM} -f ${WRKSRC}/configure.lineno 24 ${RM} -f ${WRKSRC}/configure.lineno
25 25
26do-install: 26do-install:
27 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/geda 27 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/geda
28 cd ${WRKSRC} && ${TAR} cf - . | \ 28 cd ${WRKSRC} && ${TAR} cf - . | \
29 (${DESTDIR}cd ${PREFIX}/share/examples/geda && ${TAR} xvf -) 29 (cd ${DESTDIR}${PREFIX}/share/examples/geda && ${TAR} xvf -)
30 ${FIND} ${PREFIX}/share/examples/geda \ 30 ${FIND} ${DESTDIR}${PREFIX}/share/examples/geda \
31 \( -name \*Makefile\* -o -name config.log -o -name config.status \) \ 31 \( -name \*Makefile\* -o -name config.log -o -name config.status \) \
32 -exec ${RM} {} \; 32 -exec ${RM} {} \;
33 ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/examples/geda 33 ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/examples/geda
34 34
35.include "../../mk/bsd.pkg.mk" 35.include "../../mk/bsd.pkg.mk"