summaryrefslogtreecommitdiffstats
path: root/graphics/libgxps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libgxps/Makefile')
-rw-r--r--graphics/libgxps/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/libgxps/Makefile b/graphics/libgxps/Makefile
new file mode 100644
index 000000000..cfb43bbbc
--- /dev/null
+++ b/graphics/libgxps/Makefile
@@ -0,0 +1,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>