summaryrefslogtreecommitdiff
path: root/cad/xcircuit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/xcircuit/Makefile')
-rw-r--r--cad/xcircuit/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile
index e800b73c280..023e5d0d2cc 100644
--- a/cad/xcircuit/Makefile
+++ b/cad/xcircuit/Makefile
@@ -1,17 +1,25 @@
-# $NetBSD: Makefile,v 1.11 2003/06/02 01:21:27 jschauma Exp $
+# $NetBSD: Makefile,v 1.12 2003/07/10 08:03:57 jtb Exp $
-DISTNAME= xcircuit-2.2.0
-PKGREVISION= 2
+DISTNAME= xcircuit-3.1.16
WRKSRC= ${WRKDIR}/${DISTNAME}
CATEGORIES= cad graphics
MASTER_SITES= http://bach.ece.jhu.edu/~tim/programs/xcircuit/archive/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://bach.ece.jhu.edu/~tim/programs/xcircuit/
COMMENT= Drawing program for X11 (especially for circuits)
USE_BUILDLINK2= yes
-USE_IMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-tcl
+CONFIGURE_ARGS+=--with-tclincls=${BUILDLINK_PREFIX.tcl}/include
+CONFIGURE_ARGS+=--with-tcllibs=${BUILDLINK_PREFIX.tcl}/lib
+CONFIGURE_ARGS+=--with-tkincls=${BUILDLINK_PREFIX.tk}/include
+CONFIGURE_ARGS+=--with-tklibs=${BUILDLINK_PREFIX.tk}/lib
+
+ALL_TARGET= tcl
+INSTALL_TARGET= install-tcl
post-extract:
${RM} -fr ${WRKSRC}/examples/CVS
@@ -23,6 +31,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/xcircuit/
.include "../../graphics/xpm/buildlink2.mk"
+.include "../../x11/tk/buildlink2.mk"
+.include "../../lang/tcl/buildlink2.mk"
.include "../../mk/ghostscript.mk"
-
.include "../../mk/bsd.pkg.mk"