summaryrefslogtreecommitdiff
path: root/cad/xcircuit/Makefile
diff options
context:
space:
mode:
authorjtb <jtb>2001-01-19 23:24:33 +0000
committerjtb <jtb>2001-01-19 23:24:33 +0000
commita521884136f7621f31488baa82262bf5816467c1 (patch)
treeb33f12fe0e4112c330cf4dffff607f33a2e457a1 /cad/xcircuit/Makefile
parentb6462fa2f1917a368f8c76147129448ac067eff8 (diff)
downloadpkgsrc-a521884136f7621f31488baa82262bf5816467c1.tar.gz
Updated xcircuit to version 2.2.0. The schematic capture code is now
considered stable. Xcircuit now has the ability to pass parameters to objects. For the moment, this only works with string parameters. Integral parameters will be added in upcoming versions.
Diffstat (limited to 'cad/xcircuit/Makefile')
-rw-r--r--cad/xcircuit/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile
index 7054676197d..56ae7a5cb25 100644
--- a/cad/xcircuit/Makefile
+++ b/cad/xcircuit/Makefile
@@ -1,24 +1,30 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/11/02 13:59:54 dmcmahill Exp $
-#
+# $NetBSD: Makefile,v 1.2 2001/01/19 23:24:33 jtb Exp $
-DISTNAME= xcircuit-2.1b7
+DISTNAME= xcircuit-2.2.0
CATEGORIES= cad graphics
MASTER_SITES= http://bach.ece.jhu.edu/~tim/programs/xcircuit/archive/
-MAINTAINER= jasontd@indigo.ie
+MAINTAINER= jtb@netbsd.org
HOMEPAGE= http://bach.ece.jhu.edu/~tim/programs/xcircuit/
+DEPENDS+= ghostscript-[0-9]*:../../print/ghostscript
+
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_IMAKE= yes
USE_X11BASE= yes
USE_XPM= yes
+EVAL_PREFIX+= GS_PREFIX=ghostscript
-post-build:
+post-extract:
${RM} -fr ${WRKSRC}/examples/CVS
${MV} -f ${WRKSRC}/examples/.xcircuitrc ${WRKSRC}/examples/xcircuitrc
+ ${TOUCH} ${WRKSRC}/menudep.h
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcircuit/
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/xcircuit
+ @for f in ${WRKSRC}/examples/*; do \
+ c="${INSTALL_DATA} $$f ${PREFIX}/share/examples/xcircuit/"; \
+ ${ECHO} $$c; $$c; \
+ done
.include "../../mk/bsd.pkg.mk"