|
Lines 4-10
Link Here
|
| 4 |
|
4 |
|
| 5 |
PORTNAME= cairo |
5 |
PORTNAME= cairo |
| 6 |
PORTVERSION= 1.12.18 |
6 |
PORTVERSION= 1.12.18 |
| 7 |
PORTREVISION= 1 |
7 |
PORTREVISION= 2 |
| 8 |
PORTEPOCH= 2 |
8 |
PORTEPOCH= 2 |
| 9 |
CATEGORIES= graphics |
9 |
CATEGORIES= graphics |
| 10 |
MASTER_SITES= http://cairographics.org/releases/ |
10 |
MASTER_SITES= http://cairographics.org/releases/ |
|
Lines 12-22
Link Here
|
| 12 |
MAINTAINER= gnome@FreeBSD.org |
12 |
MAINTAINER= gnome@FreeBSD.org |
| 13 |
COMMENT= Vector graphics library with cross-device output support |
13 |
COMMENT= Vector graphics library with cross-device output support |
| 14 |
|
14 |
|
|
|
15 |
LICENSE= LGPL21 MPL |
| 16 |
LICENSE_COMB= multi |
| 17 |
|
| 15 |
USES= tar:xz |
18 |
USES= tar:xz |
| 16 |
|
19 |
|
| 17 |
.if !defined(REFERENCE_PORT) |
20 |
.if !defined(REFERENCE_PORT) |
| 18 |
|
21 |
|
| 19 |
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ |
22 |
LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2 \ |
| 20 |
libpng.so:${PORTSDIR}/graphics/png \ |
23 |
libpng.so:${PORTSDIR}/graphics/png \ |
| 21 |
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig |
24 |
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig |
| 22 |
|
25 |
|
|
Lines 41-47
Link Here
|
| 41 |
--disable-egl \ |
44 |
--disable-egl \ |
| 42 |
--enable-tee |
45 |
--enable-tee |
| 43 |
|
46 |
|
| 44 |
OPTIONS_DEFINE= OPENGL XCB GLIB X11 |
47 |
OPTIONS_DEFINE= OPENGL XCB GLIB X11 |
| 45 |
OPTIONS_DEFAULT=XCB GLIB X11 |
48 |
OPTIONS_DEFAULT=XCB GLIB X11 |
| 46 |
XCB_DESC= Enable XCB (X C-language Binding) Support |
49 |
XCB_DESC= Enable XCB (X C-language Binding) Support |
| 47 |
GLIB_DESC= Enable GObject Functions Feature |
50 |
GLIB_DESC= Enable GObject Functions Feature |
|
Lines 61-66
Link Here
|
| 61 |
|
64 |
|
| 62 |
.include <bsd.port.options.mk> |
65 |
.include <bsd.port.options.mk> |
| 63 |
|
66 |
|
|
|
67 |
.if ${ARCH} == "mips" |
| 68 |
CONFIGURE_ARGS+= --disable-atomic |
| 69 |
.endif |
| 70 |
|
| 64 |
post-patch: |
71 |
post-patch: |
| 65 |
@${REINPLACE_CMD} -e '/test/s/==/=/g' \ |
72 |
@${REINPLACE_CMD} -e '/test/s/==/=/g' \ |
| 66 |
-e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \ |
73 |
-e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \ |
|
Lines 77-83
Link Here
|
| 77 |
@${REINPLACE_CMD} 's|@CAIRO_CFLAGS@|-I$$(top_srcdir)/src/glew &|' \ |
84 |
@${REINPLACE_CMD} 's|@CAIRO_CFLAGS@|-I$$(top_srcdir)/src/glew &|' \ |
| 78 |
${WRKSRC}/src/Makefile.in |
85 |
${WRKSRC}/src/Makefile.in |
| 79 |
.endif |
86 |
.endif |
|
|
87 |
.endif |
| 80 |
|
88 |
|
| 81 |
.include <bsd.port.mk> |
89 |
.include <bsd.port.mk> |
| 82 |
|
|
|
| 83 |
.endif |