aboutsummaryrefslogtreecommitdiffstats
path: root/print/pslib
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-07-13 10:45:48 +0800
committerijliao <ijliao@FreeBSD.org>2004-07-13 10:45:48 +0800
commit3e56f61548252eee0138e88a7dfd6021d399238e (patch)
treea90086b5a6e93269ee64232643c6d5e14f6d5d85 /print/pslib
parent454ce599b256a45518168cb7ed759e85a1aebfdc (diff)
downloadfreebsd-ports-gnome-3e56f61548252eee0138e88a7dfd6021d399238e.tar.gz
freebsd-ports-gnome-3e56f61548252eee0138e88a7dfd6021d399238e.tar.zst
freebsd-ports-gnome-3e56f61548252eee0138e88a7dfd6021d399238e.zip
add pslib 0.2.2
A C-library for generating multi page PostScript documents
Diffstat (limited to 'print/pslib')
-rw-r--r--print/pslib/Makefile27
-rw-r--r--print/pslib/distinfo2
-rw-r--r--print/pslib/files/patch-ltmain.sh15
-rw-r--r--print/pslib/pkg-descr8
-rw-r--r--print/pslib/pkg-plist13
5 files changed, 65 insertions, 0 deletions
diff --git a/print/pslib/Makefile b/print/pslib/Makefile
new file mode 100644
index 000000000000..c6765f906352
--- /dev/null
+++ b/print/pslib/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# Ports collection makefile for: pslib
+# Date created: Jul 13, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= pslib
+PORTVERSION= 0.2.2
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A C-library for generating multi page PostScript documents
+
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+
+USE_GETTEXT= yes
+USE_GNOME= gnomehack
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_SHLIB= yes
+
+.include <bsd.port.mk>
diff --git a/print/pslib/distinfo b/print/pslib/distinfo
new file mode 100644
index 000000000000..8debacefb7a9
--- /dev/null
+++ b/print/pslib/distinfo
@@ -0,0 +1,2 @@
+MD5 (pslib-0.2.2.tar.gz) = 76c50030acd9297604477e8b216453f8
+SIZE (pslib-0.2.2.tar.gz) = 463045
diff --git a/print/pslib/files/patch-ltmain.sh b/print/pslib/files/patch-ltmain.sh
new file mode 100644
index 000000000000..fff33dcc4295
--- /dev/null
+++ b/print/pslib/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig Wed Apr 7 00:45:05 2004
++++ ltmain.sh Tue Jul 13 10:37:40 2004
+@@ -5550,10 +5550,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/print/pslib/pkg-descr b/print/pslib/pkg-descr
new file mode 100644
index 000000000000..574107cdf024
--- /dev/null
+++ b/print/pslib/pkg-descr
@@ -0,0 +1,8 @@
+pslib is a C-library to create PostScript files on the fly. It offers many
+drawing primitives, inclusion of png and eps images and a very sophisticated
+text rendering including hyphenation, kerning and ligatures. It can read
+external Type1 fonts and embed them into the output file. It supports pdfmarks
+which makes it in combination with ghostscript's pdfwriter an alternative for
+libraries creating PDF.
+
+WWW: http://pslib.sourceforge.net/
diff --git a/print/pslib/pkg-plist b/print/pslib/pkg-plist
new file mode 100644
index 000000000000..414311c6bcd7
--- /dev/null
+++ b/print/pslib/pkg-plist
@@ -0,0 +1,13 @@
+include/libps/pslib-mp.h
+include/libps/pslib.h
+include/libps/psversion.h
+@dirrm include/libps
+lib/libps.a
+lib/libps.so
+lib/libps.so.2
+libdata/pkgconfig/libps.pc
+share/locale/de/LC_MESSAGES/pslib.mo
+%%DATADIR%%/draft.ps
+%%DATADIR%%/exectime.ps
+%%DATADIR%%/grid.ps
+@dirrm %%DATADIR%%