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