summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-13 06:53:31 +0000
committerjlam <jlam>2002-09-13 06:53:31 +0000
commit10035fcdc6e26e1c5e9db5abf0df0105d66671b5 (patch)
treed2e1cce582bf34cf1bb4f37c4673fcd268b32828 /cad
parent0a2a39bebc50e86a43dd22a214e196bb2116d058 (diff)
downloadpkgsrc-10035fcdc6e26e1c5e9db5abf0df0105d66671b5.tar.gz
Use ghostscript.mk.
Diffstat (limited to 'cad')
-rw-r--r--cad/xcircuit/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile
index c4fd8f353f9..78e1b399687 100644
--- a/cad/xcircuit/Makefile
+++ b/cad/xcircuit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/03/13 17:36:41 fredb Exp $
+# $NetBSD: Makefile,v 1.7 2002/09/13 06:53:31 jlam Exp $
DISTNAME= xcircuit-2.2.0
PKGREVISION= 1
@@ -9,16 +9,11 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://bach.ece.jhu.edu/~tim/programs/xcircuit/
COMMENT= Drawing program for X11 (especially for circuits)
-DEPENDS+= ghostscript-[0-9]*:../../print/ghostscript
-
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_IMAKE= yes
USE_X11BASE= yes
USE_XPM= yes
-GS_PREFIX_DEFAULT= ${LOCALBASE}
-EVAL_PREFIX+= GS_PREFIX=ghostscript
-
post-extract:
${RM} -fr ${WRKSRC}/examples/CVS
${MV} -f ${WRKSRC}/examples/.xcircuitrc ${WRKSRC}/examples/xcircuitrc
@@ -28,4 +23,5 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcircuit/
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/xcircuit/
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"