2006-04-25 02:51:11 +02:00
|
|
|
# $NetBSD: Makefile,v 1.35 2006/04/25 00:51:11 dmcmahill Exp $
|
2005-12-03 05:18:59 +01:00
|
|
|
#
|
1998-11-07 15:30:33 +01:00
|
|
|
|
2005-12-03 05:18:59 +01:00
|
|
|
DISTNAME= pcb-${SNAPDATE}
|
1998-11-07 15:30:33 +01:00
|
|
|
CATEGORIES= cad
|
2005-12-03 05:18:59 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcb/}
|
1998-11-07 15:30:33 +01:00
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= dmcmahill@NetBSD.org
|
2005-12-03 05:18:59 +01:00
|
|
|
HOMEPAGE= http://pcb.sourceforge.net/
|
|
|
|
COMMENT= Printed circuit board layout system
|
1998-11-07 15:30:33 +01:00
|
|
|
|
2005-12-03 05:18:59 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
1998-11-07 15:30:33 +01:00
|
|
|
|
2003-08-17 06:00:51 +02:00
|
|
|
CONFLICTS+= pcb-current-[0-9]*
|
|
|
|
|
2006-04-23 05:02:26 +02:00
|
|
|
SNAPDATE= 20060422
|
2005-12-03 05:18:59 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-03-18 00:02:16 +01:00
|
|
|
CONFIGURE_ENV+= WISH=${TOOLS_PATH.wish}
|
|
|
|
USE_TOOLS+= bison gm4:run gmake lex wish:run
|
2006-03-30 05:44:41 +02:00
|
|
|
INFO_FILES= # PLIST
|
1998-11-07 15:30:33 +01:00
|
|
|
|
2006-04-25 02:51:11 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pcb
|
|
|
|
PKG_SUPPORTED_OPTIONS= png
|
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= gui
|
|
|
|
PKG_OPTIONS_GROUP.gui= gtk motif
|
|
|
|
PKG_SUGGESTED_OPTIONS= png gtk
|
2000-08-31 16:55:29 +02:00
|
|
|
|
2006-04-23 05:02:26 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2006-04-25 02:51:11 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mmotif)
|
2006-04-23 05:02:26 +02:00
|
|
|
.include "../../mk/motif.buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-gui=lesstif
|
|
|
|
.else
|
2006-04-05 00:20:27 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2005-12-03 05:18:59 +01:00
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2006-04-23 05:02:26 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gui=gtk
|
|
|
|
.endif
|
|
|
|
|
|
|
|
EXPORTERS= bom gerber ps
|
|
|
|
.if !empty(PKG_OPTIONS:Mpng)
|
|
|
|
EXPORTERS+= png
|
|
|
|
.include "../../graphics/gd/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-exporters=${EXPORTERS:Q}
|
|
|
|
|
1998-11-07 15:30:33 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|