summaryrefslogtreecommitdiffstats
path: root/graphics/libgxps/Makefile
blob: cfb43bbbc832c0a50c64a6472196812ea19d84ce (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
# Created by: Gustau Perez <gustau.perez@gmail.com>
# $FreeBSD$
#   $MCom$

PORTNAME=   libgxps
PORTVERSION=    0.2.2
CATEGORIES= graphics gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GObject based library for rendering XPS documents

LIB_DEPENDS=    libfreetype.so:${PORTSDIR}/print/freetype2 \
        libjpeg.so:${PORTSDIR}/graphics/jpeg \
        libtiff.so:${PORTSDIR}/graphics/tiff \
        liblcms2.so:${PORTSDIR}/graphics/lcms2

USES=       gettext gmake libtool pathfix pkgconfig tar:xz
USE_LDCONFIG=   yes
USE_GNOME=  cairo gnomeprefix glib20 intlhack
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -larchive

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgxps.so.2.1.1

.include <bsd.port.mk>