blob: 990cbd1f5fd5d80c473c9d7d8c2ca5d2d2056d8a (
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
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.12 2004/06/08 17:52:22 jmmv Exp $
#
DISTNAME= tkgate-1.6i
PKGREVISION= 2
CATEGORIES= cad
MASTER_SITES= ftp://gadoid.ices.cmu.edu/pub/tkgate/
EXTRACT_SUFX= .tgz
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www-2.cs.cmu.edu/~hansen/tkgate/
COMMENT= Tcl/Tk based digital circuit editor and simulator
BUILD_DEPENDS+= bison>=1.35:../../devel/bison
BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv
USE_BUILDLINK3= yes
USE_IMAKE= yes
USE_GNU_TOOLS+= m4
TKGATE_SITENAME= Earth
CONFIGURE_ENV+= BUILDLINK_LDFLAGS="${BUILDLINK_LDFLAGS}"
CONFIGURE_ENV+= PREFIX="${PREFIX}"
CONFIG_SUBST= PREFIX="${PREFIX}"
CONFIG_SUBST+= LOCALBASE="${LOCALBASE}"
CONFIG_SUBST+= X11BASE="${X11BASE}"
CONFIG_SUBST_SED= ${CONFIG_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
post-extract:
( cd ${WRKSRC} && ${MV} config.h config.h.in )
do-configure:
${SED} ${CONFIG_SUBST_SED} ${WRKSRC}/config.h.in > ${WRKSRC}/config.h
${ECHO} "${TKGATE_SITENAME}" > ${WRKSRC}/sitename.txt
( cd ${WRKSRC} && ${CONFIGURE_ENV} ./configure )
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|