aboutsummaryrefslogtreecommitdiff
path: root/devel/smooth/Makefile
blob: c33288974290769439cbe0edee53f6847b11c0f2 (plain) (blame)
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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>

PORTNAME=	smooth
PORTVERSION=	0.9.9
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Object-oriented C++ class library

LICENSE=	ART20

LIB_DEPENDS=	libcpuid.so:sysutils/libcpuid \
		libcurl.so:ftp/curl \
		libfribidi.so:converters/fribidi \
		libharfbuzz.so:print/harfbuzz \
		libpng.so:graphics/png \
		libwebp.so:graphics/webp

USES=		gmake gnome iconv jpeg localbase pkgconfig xorg
USE_LDCONFIG=	yes
USE_GNOME=	cairo gdkpixbuf2 gtk30 libxml2
USE_XORG=	x11
MAKE_ARGS=	config="systemlibcpuid systemlibwebp"

post-extract:
# Prevent accidental build/use of bundled libraries' code/headers
	@${RM} -r ${WRKSRC}/libraries/fribidi ${WRKSRC}/libraries/lib* \
		${WRKSRC}/libraries/v8 ${WRKSRC}/libraries/zlib
	@${RM} -r ${WRKSRC}/include/support

.include <bsd.port.mk>