diff options
-rw-r--r-- | print/libspectre/Makefile | 36 | ||||
-rw-r--r-- | print/libspectre/distinfo | 3 | ||||
-rw-r--r-- | print/libspectre/pkg-descr | 3 | ||||
-rw-r--r-- | print/libspectre/pkg-plist | 14 |
4 files changed, 56 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> diff --git a/print/libspectre/distinfo b/print/libspectre/distinfo new file mode 100644 index 000000000..a2603a21e --- /dev/null +++ b/print/libspectre/distinfo @@ -0,0 +1,3 @@ +MD5 (libspectre-0.2.3.tar.gz) = 9c5867e970d1bad5f80809bfdb4306c1 +SHA256 (libspectre-0.2.3.tar.gz) = 0cc4e30b9379a383894e2559c5e2125dd90f814106b4628459d90db9b5ac8b41 +SIZE (libspectre-0.2.3.tar.gz) = 352308 diff --git a/print/libspectre/pkg-descr b/print/libspectre/pkg-descr new file mode 100644 index 000000000..63383bb8b --- /dev/null +++ b/print/libspectre/pkg-descr @@ -0,0 +1,3 @@ +A small library for rendering Postscript documents + +WWW: http://libspectre.freedesktop.org/wiki/ diff --git a/print/libspectre/pkg-plist b/print/libspectre/pkg-plist new file mode 100644 index 000000000..ad5024a0b --- /dev/null +++ b/print/libspectre/pkg-plist @@ -0,0 +1,14 @@ +include/libspectre/spectre-document.h +include/libspectre/spectre-exporter.h +include/libspectre/spectre-macros.h +include/libspectre/spectre-page.h +include/libspectre/spectre-render-context.h +include/libspectre/spectre-status.h +include/libspectre/spectre-version.h +include/libspectre/spectre.h +lib/libspectre.a +lib/libspectre.la +lib/libspectre.so +lib/libspectre.so.1 +libdata/pkgconfig/libspectre.pc +@dirrm include/libspectre |