summaryrefslogtreecommitdiffstats
path: root/print/libspectre/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-20 04:04:37 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-20 04:04:37 +0800
commit0fc82f8246dc464ab84ec785472ab6c15ede7848 (patch)
tree308e19f19d5b4cbb0ce27c609d897a53f28b3817 /print/libspectre/Makefile
parentbb35cb0450bbf2cd735b03c063c527a42c9beccf (diff)
downloadmarcuscom-ports-0fc82f8246dc464ab84ec785472ab6c15ede7848.tar
marcuscom-ports-0fc82f8246dc464ab84ec785472ab6c15ede7848.tar.gz
marcuscom-ports-0fc82f8246dc464ab84ec785472ab6c15ede7848.tar.bz2
marcuscom-ports-0fc82f8246dc464ab84ec785472ab6c15ede7848.tar.lz
marcuscom-ports-0fc82f8246dc464ab84ec785472ab6c15ede7848.tar.xz
marcuscom-ports-0fc82f8246dc464ab84ec785472ab6c15ede7848.tar.zst
marcuscom-ports-0fc82f8246dc464ab84ec785472ab6c15ede7848.zip
Update to 0.2.3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13153 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'print/libspectre/Makefile')
-rw-r--r--print/libspectre/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/print/libspectre/Makefile b/print/libspectre/Makefile
new file mode 100644
index 000000000..469ae6b51
--- /dev/null
+++ b/print/libspectre/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: libspectre
+# Date created: 2008-03-12
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= libspectre
+PORTVERSION= 0.2.3
+CATEGORIES= print
+MASTER_SITES= http://libspectre.freedesktop.org/releases/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A small library for rendering Postscript documents
+
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
+
+USE_AUTOTOOLS= libtool:22
+USE_LDCONFIG= yes
+USE_GNOME= gnomehack gnomeprefix ltverhack
+USE_GHOSTSCRIPT=yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+.if defined(WITH_GHOSTSCRIPT_GNU)
+IGNORE= Port will not work with ghostscript-gnu, please do not define WITH_GHOSTSCRIPT_GNU
+.endif
+
+pre-configure:
+ @if [ -n "`${PKG_INFO} -xI '^ghostscript-gnu-[0-9]*'`" ]; then \
+ ${ECHO_CMD} "${PKGNAME}: ghostscript-gnu installed, please deinstall ghostscript-gnu"; \
+ ${ECHO_CMD} "and use ghostscript-gpl. Make sure you don't have WITH_GHOSTSCRIPT_GNU"; \
+ ${ECHO_CMD} "or GHOSTSCRIPT_PORT defined."; \
+ ${FALSE}; \
+ fi
+
+.include <bsd.port.mk>