Lines 1-8
Link Here
|
1 |
# Created by: Michael Reifenberger <mr@FreeBSD.org> |
1 |
# Created by: Michael Reifenberger <mr@FreeBSD.org> |
2 |
|
2 |
|
3 |
PORTNAME= pcb |
3 |
PORTNAME= pcb |
4 |
PORTVERSION= 4.2.0 |
4 |
PORTVERSION= 4.3.0 |
5 |
PORTREVISION= 1 |
|
|
6 |
PORTEPOCH= 1 |
5 |
PORTEPOCH= 1 |
7 |
CATEGORIES= cad |
6 |
CATEGORIES= cad |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} |
Lines 12-73
COMMENT= X11 interactive printed circuit board layout system
Link Here
|
12 |
|
11 |
|
13 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 |
14 |
|
13 |
|
15 |
BUILD_DEPENDS= m4>=1.4.11:devel/m4 \ |
14 |
ONLY_FOR_ARCHS= i386 amd64 |
16 |
${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus |
15 |
ONLY_FOR_ARCHS_REASON= Uses x86 specific libc functions and has not been ported |
17 |
LIB_DEPENDS= libgd.so:graphics/gd \ |
|
|
18 |
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ |
19 |
libfontconfig.so:x11-fonts/fontconfig \ |
20 |
libfreetype.so:print/freetype2 |
21 |
RUN_DEPENDS= m4>=1.4.11:devel/m4 \ |
22 |
${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus |
23 |
|
16 |
|
24 |
USES= gl gmake gnome pkgconfig tk:run shared-mime-info \ |
17 |
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus \ |
25 |
desktop-file-utils xorg |
18 |
m4>=1.4.11:devel/m4 |
26 |
USE_GL= gl glu |
19 |
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ |
27 |
USE_GNOME= intltool cairo pangox-compat |
20 |
libfreetype.so:print/freetype2 \ |
28 |
USE_XORG= x11 xrender xinerama |
21 |
libgd.so:graphics/gd \ |
|
|
22 |
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext |
23 |
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus \ |
24 |
m4>=1.4.11:devel/m4 |
29 |
|
25 |
|
30 |
CONFLICTS= gts-[0-9]* |
26 |
USES= desktop-file-utils gl gmake gnome pkgconfig shared-mime-info \ |
|
|
27 |
tk:run xorg |
28 |
USE_GL= gl glu |
29 |
USE_GNOME= cairo intltool pangox-compat |
31 |
INSTALLS_ICONS= yes |
30 |
INSTALLS_ICONS= yes |
|
|
31 |
USE_XORG= ice sm x11 xinerama xmu xrender xt |
32 |
|
32 |
GNU_CONFIGURE= yes |
33 |
GNU_CONFIGURE= yes |
33 |
CONFIGURE_ENV+= INSTALL_DATA="${BSD_INSTALL_DATA}" |
34 |
CONFIGURE_ENV+= INSTALL_DATA="${BSD_INSTALL_DATA}" |
34 |
LDFLAGS+= -lpthread |
35 |
LDFLAGS+= -lpthread |
35 |
|
36 |
|
36 |
PORTDOCS= \ |
37 |
CONFLICTS= gts-[0-9]* |
37 |
pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png \ |
38 |
|
38 |
examples tutorial gcode.png gcode_control_img.png \ |
39 |
PORTDOCS= examples gcode.png gcode_control_img.png gcode_tool_path.png \ |
39 |
gcode_tool_path.png |
40 |
pad.png pcb.html pcb.pdf puller.png refcard.pdf thermal.png \ |
|
|
41 |
tutorial |
40 |
|
42 |
|
41 |
OPTIONS_DEFINE= DOCS NLS |
43 |
OPTIONS_DEFINE= DOCS NLS |
42 |
OPTIONS_SINGLE= GUI |
44 |
OPTIONS_SINGLE= GUI |
43 |
OPTIONS_SINGLE_GUI=MOTIF GTK NONE |
45 |
OPTIONS_SINGLE_GUI= GTK MOTIF NONE |
44 |
OPTIONS_DEFAULT=GTK |
|
|
45 |
DOCS_CONFIGURE_ENABLE= doc |
46 |
DOCS_CONFIGURE_ENABLE= doc |
46 |
DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} |
47 |
DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} |
47 |
NLS_CONFIGURE_ENABLE= nls |
48 |
NLS_CONFIGURE_ENABLE= nls |
48 |
NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} \ |
49 |
NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} \ |
49 |
${ICONV_CONFIGURE_ARG} |
50 |
--with-libintl-prefix=${LOCALBASE} |
50 |
NLS_CONFIGURE_OFF= --without-libintl \ |
51 |
NLS_CONFIGURE_OFF= --without-iconv \ |
51 |
--without-iconv |
52 |
--without-libintl |
52 |
NLS_USES= gettext iconv |
53 |
NLS_USES= gettext iconv |
53 |
.for L in fr nl ru pt_BR |
54 |
.for L in fr nl ru pt_BR |
54 |
NLS_PLIST_FILES+= share/locale/${L}/LC_MESSAGES/pcb.mo |
55 |
NLS_PLIST_FILES+= share/locale/${L}/LC_MESSAGES/pcb.mo |
55 |
.endfor |
56 |
.endfor |
56 |
MOTIF_DESC= Motif widgets |
57 |
MOTIF_DESC= Motif widgets |
57 |
MOTIF_USES= motif |
58 |
MOTIF_USES= motif |
58 |
MOTIF_CONFIGURE_ON= --with-gui=lesstif |
59 |
MOTIF_CONFIGURE_ON= --with-gui=lesstif |
59 |
MOTIF_CONFIGURE_ENV= WISH=${WISH} |
60 |
MOTIF_CONFIGURE_ENV= WISH=${WISH} |
60 |
GTK_DESC= GIMP ToolKit widgets |
61 |
GTK_DESC= GIMP ToolKit widgets |
61 |
GTK_USE= GNOME=gtk20 |
62 |
GTK_USE= GNOME=gtk20 |
62 |
GTK_CONFIGURE_ON= --with-gui=gtk |
63 |
GTK_CONFIGURE_ON= --with-gui=gtk |
63 |
GTK_CONFIGURE_ENV= WISH=${WISH} |
64 |
GTK_CONFIGURE_ENV= WISH=${WISH} |
64 |
NONE_DESC= No GUI support |
65 |
NONE_DESC= No GUI support |
65 |
NONE_CONFIGURE_ON= --without-gui |
66 |
NONE_CONFIGURE_ON= --without-gui |
66 |
NONE_CONFIGURE_ENV= WISH=/usr/bin/true |
67 |
NONE_CONFIGURE_ENV= WISH=/usr/bin/true |
67 |
|
68 |
|
68 |
ONLY_FOR_ARCHS= i386 amd64 |
69 |
DOCS_INFO= pcb |
69 |
ONLY_FOR_ARCHS_REASON= Uses x86 specific libc functions and has not been ported |
|
|
70 |
|
70 |
|
71 |
DOCS_INFO= pcb |
71 |
post-install: |
|
|
72 |
${MKDIR} ${STAGEDIR}${DATADIR}/newlib/sockets |
72 |
|
73 |
|
73 |
.include <bsd.port.mk> |
74 |
.include <bsd.port.mk> |