Changeset View
Changeset View
Standalone View
Standalone View
graphics/cairo/Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org> | # Created by: Michael Johnson <ahze@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= cairo | PORTNAME= cairo | ||||
PORTVERSION= 1.15.12 | PORTVERSION= 1.16.0 | ||||
PORTEPOCH= 2 | PORTEPOCH= 2 | ||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
#MASTER_SITES= http://cairographics.org/releases/ | MASTER_SITES= http://cairographics.org/releases/ | ||||
MASTER_SITES= http://cairographics.org/snapshots/ | #MASTER_SITES= http://cairographics.org/snapshots/ | ||||
MAINTAINER= gnome@FreeBSD.org | MAINTAINER= gnome@FreeBSD.org | ||||
COMMENT= Vector graphics library with cross-device output support | COMMENT= Vector graphics library with cross-device output support | ||||
LICENSE= LGPL21 MPL11 | LICENSE= LGPL21 MPL11 | ||||
LICENSE_COMB= dual | LICENSE_COMB= dual | ||||
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING-LGPL-2.1 | LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING-LGPL-2.1 | ||||
LICENSE_FILE_MPL11= ${WRKSRC}/COPYING-MPL-1.1 | LICENSE_FILE_MPL11= ${WRKSRC}/COPYING-MPL-1.1 | ||||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
XCB_USE= xorg=xcb | XCB_USE= xorg=xcb | ||||
XCB_CONFIGURE_ENABLE= xcb | XCB_CONFIGURE_ENABLE= xcb | ||||
# this has another option --enable-xlib-xcb=auto but it is buggy. | # this has another option --enable-xlib-xcb=auto but it is buggy. | ||||
MIPS_BUILD_DEPENDS= ${LOCALBASE}/include/atomic_ops.h:devel/libatomic_ops | MIPS_BUILD_DEPENDS= ${LOCALBASE}/include/atomic_ops.h:devel/libatomic_ops | ||||
MIPS_USES= localbase | MIPS_USES= localbase | ||||
MIPS_CONFIGURE_ENV= cairo_cv_atomic_primitives="libatomic-ops" | MIPS_CONFIGURE_ENV= cairo_cv_atomic_primitives="libatomic-ops" | ||||
PLIST_SUB+= LIBVER=2.11512.0 | PLIST_SUB+= LIBVER=2.11600.0 | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e '/strings/s/ - / -a /' \ | @${REINPLACE_CMD} -e '/strings/s/ - / -a /' \ | ||||
-e '/test/s/==/=/g' \ | -e '/test/s/==/=/g' \ | ||||
-e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \ | -e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \ | ||||
-e '/LIBS/s|-ldl||' \ | -e '/LIBS/s|-ldl||' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
@${REINPLACE_CMD} -e 's|-lcairo|-lcairo -lpthread|' \ | @${REINPLACE_CMD} -e 's|-lcairo|-lcairo -lpthread|' \ | ||||
Show All 12 Lines |