diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2014-01-29 09:52:04 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2014-01-29 09:52:04 +0000 |
commit | 07e27e6281b87d8e5a4d136f7324de509226849f (patch) | |
tree | 0ff96426a5ae9ea044f8f33529a6ccb2941b39df /cad/pcb | |
parent | - add stage support (diff) |
- Convert to USES=tk
- STAGE-clean
- Fix spaces in Makefile
- Register conflict with graphics/gts
Notes
Notes:
svn path=/head/; revision=341708
Diffstat (limited to 'cad/pcb')
-rw-r--r-- | cad/pcb/Makefile | 32 | ||||
-rw-r--r-- | cad/pcb/pkg-plist | 2 |
2 files changed, 14 insertions, 20 deletions
diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile index d75284d848e2..7017daf98093 100644 --- a/cad/pcb/Makefile +++ b/cad/pcb/Makefile @@ -18,19 +18,20 @@ RUN_DEPENDS= m4>=1.4.11:${PORTSDIR}/devel/m4 \ ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus BUILD_DEPENDS:= ${RUN_DEPENDS} +CONFLICTS= gts-[0-9]* + USE_AUTOTOOLS= autoconf -USES= gmake pkgconfig -USE_TK_RUN= yes +USES= gmake pkgconfig tk:run INSTALLS_ICONS= yes GNU_CONFIGURE= yes CONFIGURE_ENV+= INSTALL_DATA="${BSD_INSTALL_DATA}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -pthread -L${LOCALBASE}/lib -CONFIGURE_ARGS= --docdir=${DOCSDIR} +CONFIGURE_ARGS= --docdir=${DOCSDIR} -PORTDOCS= pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png \ - examples tutorial gcode.png gcode_control_img.png \ - gcode_tool_path.png +PORTDOCS= pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png \ + examples tutorial gcode.png gcode_control_img.png \ + gcode_tool_path.png OPTIONS_DEFINE= DOCS NLS X11 OPTIONS_SINGLE= GUI @@ -40,8 +41,6 @@ MOTIF_DESC= Motif widgets GTK_DESC= GIMP ToolKit widgets NONE_DESC= No GUI support -NO_STAGE= yes - .for a in ia64 powerpc sparc64 BROKEN_${a}= Does not compile on ia64, powerpc, or sparc64 .endfor @@ -49,19 +48,17 @@ BROKEN_${a}= Does not compile on ia64, powerpc, or sparc64 .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MNLS} -CONFIGURE_ARGS+= \ - --enable-nls \ - ${ICONV_CONFIGURE_ARG} \ - --with-libintl-prefix=${LOCALBASE} +CONFIGURE_ARGS+=--enable-nls \ + ${ICONV_CONFIGURE_ARG} \ + --with-libintl-prefix=${LOCALBASE} USES+= gettext iconv .for L in fr nl ru PLIST_FILES+= share/locale/${L}/LC_MESSAGES/pcb.mo .endfor .else -CONFIGURE_ARGS+= \ - --disable-nls \ - --without-libiconv \ - --without-libintl +CONFIGURE_ARGS+=--disable-nls \ + --without-libiconv \ + --without-libintl .endif .if ${PORT_OPTIONS:MX11} @@ -70,12 +67,10 @@ CONFIGURE_ARGS+= --without-gui CONFIGURE_ENV+= WISH=${TRUE} .elif ${PORT_OPTIONS:MMOTIF} USES+= motif -USE_TK_RUN= yes CONFIGURE_ARGS+= --with-gui=lesstif CONFIGURE_ENV+= WISH=${WISH} .elif ${PORT_OPTIONS:MGTK} USE_GNOME= gtk20 desktopfileutils -USE_TK_RUN= yes CONFIGURE_ARGS+= --with-gui=gtk CONFIGURE_ENV+= WISH=${WISH} .endif @@ -83,7 +78,6 @@ CONFIGURE_ENV+= WISH=${WISH} .if ${PORT_OPTIONS:MDOCS} INFO= pcb -MAN1= pcb.1 .else CONFIGURE_ARGS+= --disable-doc .endif diff --git a/cad/pcb/pkg-plist b/cad/pcb/pkg-plist index 847a4f9ee30a..64b356addf38 100644 --- a/cad/pcb/pkg-plist +++ b/cad/pcb/pkg-plist @@ -3,6 +3,7 @@ bin/Merge_dimPCBPS bin/pcb include/gts.h lib/libgts.a +%%PORTDOCS%%man/man1/pcb.1.gz share/applications/pcb.desktop share/icons/hicolor/16x16/mimetypes/application-x-excellon-16.png share/icons/hicolor/16x16/mimetypes/application-x-gerber-16.png @@ -1186,7 +1187,6 @@ share/gEDA/scheme/gnet-pcbfwd.scm @dirrm %%DATADIR%%/pcblib-newlib/amp @dirrm %%DATADIR%%/pcblib-newlib @dirrm %%DATADIR%%/newlib/tests -@exec /bin/mkdir %D/%%DATADIR%%/newlib/sockets @dirrm %%DATADIR%%/newlib/sockets @dirrm %%DATADIR%%/newlib/not_vetted_ingo @dirrm %%DATADIR%%/newlib/msp430 |