1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/graphics/oyranos/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

56 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= oyranos
PORTVERSION= 0.9.5
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/Oyranos/Oyranos%20${PORTVERSION:C|(.*)\.[0-9]*$|\1|}
MAINTAINER= bsam@FreeBSD.org
COMMENT= Colour Management System (CMS)
BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
RUN_DEPENDS= ${LOCALBASE}/share/color/icc/OpenICC/sRGB.icc:${PORTSDIR}/graphics/icc-profiles-openicc \
${LOCALBASE}/share/color/icc/basICColor/ISOcoated_v2_300_bas.ICC:${PORTSDIR}/graphics/icc-profiles-basiccolor
LIB_DEPENDS= libraw.so:${PORTSDIR}/graphics/libraw \
libxml2.so:${PORTSDIR}/textproc/libxml2 \
libexiv2.so:${PORTSDIR}/graphics/exiv2 \
libpng15.so:${PORTSDIR}/graphics/png \
libcairo.so:${PORTSDIR}/graphics/cairo \
libyajl.so:${PORTSDIR}/devel/yajl \
libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
libcups.so:${PORTSDIR}/print/cups-client \
libxdot.so:${PORTSDIR}/graphics/graphviz \
liblcms.so:${PORTSDIR}/graphics/lcms \
liblcms2.so:${PORTSDIR}/graphics/lcms2 \
libXcm.so:${PORTSDIR}/x11/libXcm
USES= cmake gettext iconv pkgconfig tar:bzip2
USE_GL= yes
USE_LDCONFIG= yes
USE_GNOME= libxml2
USE_QT4= gui moc_build qmake_build rcc_build uic_build
USE_XORG= xfixes xinerama xrandr xxf86vm
CMAKE_ARGS+= -DXDG_CONFIG_DIR=${PREFIX}/etc/xdg
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
MAKE_JOBS_UNSAFE=yes
PORTDOCS= *
.include <bsd.port.pre.mk>
PLIST_SUB+= VER=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|lib|libdata|' \
${WRKSRC}/extras/CMakeLists.txt
.if exists(/usr/bin/clang) && ${OSVERSION} > 901502
CC= /usr/bin/clang
CXX= /usr/bin/clang++
.else
USE_GCC= yes
.endif
.include <bsd.port.post.mk>