summaryrefslogtreecommitdiff
path: root/cad/pcb-current/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-22 20:28:47 +0000
committerjlam <jlam@pkgsrc.org>2005-05-22 20:28:47 +0000
commit6a6cd5f01fe868efc05172603f50ca80b9d438a2 (patch)
tree241d2823c401d78f7a7f1c2fef687b213864c459 /cad/pcb-current/Makefile
parent6a44e12a0bbb906af03439cb5910a712ce0609be (diff)
downloadpkgsrc-6a6cd5f01fe868efc05172603f50ca80b9d438a2.tar.gz
Replace explicit build dependencies on bison and manipulations on the
YACC variable with USE_TOOLS+=bison.
Diffstat (limited to 'cad/pcb-current/Makefile')
-rw-r--r--cad/pcb-current/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/cad/pcb-current/Makefile b/cad/pcb-current/Makefile
index e264f58c12c..376e668a320 100644
--- a/cad/pcb-current/Makefile
+++ b/cad/pcb-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/05/22 20:07:41 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2005/05/22 20:28:47 jlam Exp $
#
DISTNAME= pcb-${SNAPDATE}
@@ -10,28 +10,23 @@ MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://pcb.sourceforge.net/
COMMENT= Printed circuit board layout system (development snapshot version)
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
-DEPENDS+= m4>=1.4:../../devel/m4
DEPENDS+= tk>=8.3:../../x11/tk
PKG_INSTALLATION_TYPES= overwrite pkgviews
CONFLICTS+= pcb-[0-9]*
-SNAPDATE= 20050315
-GNU_CONFIGURE= yes
-USE_TOOLS+= gmake lex
-USE_X11= yes
+SNAPDATE= 20050315
+GNU_CONFIGURE= yes
+USE_TOOLS+= bison gm4 gmake lex
+TOOLS_DEPMETHOD.gm4= DEPENDS
+USE_X11= yes
INFO_FILES= pcb.info
.include "../../mk/bsd.prefs.mk"
-EVAL_PREFIX+= BISONDIR=bison
-EVAL_PREFIX+= M4DIR=m4
EVAL_PREFIX+= TKDIR=tk
-M4=${M4DIR}/bin/${GNU_PROGRAM_PREFIX}m4
-YACC= ${BISONDIR}/bin/bison
CONFIGURE_ENV+= WISH=${TKDIR}/bin/wish
.if ${XAW_TYPE} == "xpm"