aboutsummaryrefslogtreecommitdiff
path: root/graphics/paintlib/Makefile
blob: eb0a63d0042579eb57a9506479c764c50964abc5 (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
# New ports collection makefile for:	paintlib
# Date created:				18 June 2004
# Whom:					Frerich Raabe <frerich.raabe@gmx.de>
#
# $FreeBSD$
#

PORTNAME=	paintlib
PORTVERSION=	2.6.1
PORTREVISION=	2
CATEGORIES=	graphics devel
MASTER_SITES=	http://www.paintlib.de/paintlib/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	C++ library for processing images

LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
		jpeg:${PORTSDIR}/graphics/jpeg \
		png:${PORTSDIR}/graphics/png \
		tiff:${PORTSDIR}/graphics/tiff \
		ungif:${PORTSDIR}/graphics/libungif

USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-SDL --disable-dfb
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

PLIST_SUB+=	DOCSDIR=${DOCSDIR:S,^${PREFIX}/,,}

MAN1=		paintlib-config.1

.include <bsd.port.mk>