summaryrefslogtreecommitdiff
path: root/print/pslib
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-07-13 02:45:48 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-07-13 02:45:48 +0000
commit4d572635e304834c314f9743a408fed746409cb3 (patch)
tree05b01d578644fc8fa28c8aece184dd3dbd70e8b3 /print/pslib
parentThis is an update of the net/jabberd port to version 2.0.3 (vendor (diff)
add pslib 0.2.2
A C-library for generating multi page PostScript documents
Notes
Notes: svn path=/head/; revision=113521
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%%