c900de7d35
by Thomas Klausner.
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.35 2006/04/25 00:51:11 dmcmahill Exp $
|
|
#
|
|
|
|
DISTNAME= pcb-${SNAPDATE}
|
|
CATEGORIES= cad
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcb/}
|
|
|
|
MAINTAINER= dmcmahill@NetBSD.org
|
|
HOMEPAGE= http://pcb.sourceforge.net/
|
|
COMMENT= Printed circuit board layout system
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
CONFLICTS+= pcb-current-[0-9]*
|
|
|
|
SNAPDATE= 20060422
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= WISH=${TOOLS_PATH.wish}
|
|
USE_TOOLS+= bison gm4:run gmake lex wish:run
|
|
INFO_FILES= # PLIST
|
|
|
|
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
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mmotif)
|
|
.include "../../mk/motif.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-gui=lesstif
|
|
.else
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
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}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|