summaryrefslogtreecommitdiff
path: root/print/libharu/Makefile
blob: 5e1b0b96e20cfabfd49b39a27cbf409ebdd4f84a (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
# ex:ts=8
# Ports collection makefile for:	libharu
# Date created:			Jun 15, 2007
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	libharu
PORTVERSION=	2.2.1
PORTREVISION=	1
CATEGORIES=	print
MASTER_SITES=	http://libharu.org/files/

MAINTAINER=	jlaffaye@FreeBSD.org
COMMENT=	Haru Free PDF Library

LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-png=${LOCALBASE}
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
USE_LDCONFIG=	yes

SOVERSION=	2
PLIST_SUB+=	PORTVERSION=${PORTVERSION} \
		SOVERSION=${SOVERSION}

post-install:
	${LN} -s ${PREFIX}/lib/libhpdf-${PORTVERSION}.so \
		${PREFIX}/lib/libhpdf.so.${SOVERSION}

.include <bsd.port.mk>