summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/libart-lgpl/Makefile
blob: 471637f4552df9d30ee0978621c890626f94dd5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*-mode: makefile-*-
# Created by: [email protected]
# $FreeBSD$
#

.include <../../trinity.port.mk>

PORTNAME=		libart_lgpl
COMMENT=		Library for high-performance 2D graphics
TDE_PREVERSION=		
MASTER_SITE_SUBDIR=	liba/libart-lgpl
DISTNAME=		libart-lgpl_${TDE_VERSION}${TDE_PREVERSION:C/(~(pre|r|s)[0-9]*).*/\1/1}
DISTSRC=		libart-lgpl-trinity-${TDE_VERSION}${TDE_PREVERSION}
PORTREVISION=		0
PORTEPOCH=		1
CATEGORIES=		graphics
DIST_SUBDIR=		TDE/dependencies
PREFIX=			${LOCALBASE}

CONFLICTS=	libart-[0-9]*


# build

post-patch: tde-pathfix

do-configure: tde-cmake-prepare
	${TDE_CMAKE_CONFIGURE} \
	-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
	-DPKGCONFIG_INSTALL_DIR="${PREFIX}/libdata/pkgconfig"
	-DBUILD_ALL="ON" \
	-DWITH_ALL_OPTIONS="ON"

do-build: tde-cmake-build

do-install: tde-cmake-install

post-stage:
	${LN} -s libart_lgpl_2.so.2 ${STAGEDIR}${PREFIX}/lib/libart_lgpl_2.so.5

.include <bsd.port.mk>