aboutsummaryrefslogtreecommitdiffstats
path: root/print/font2svg
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-01-17 17:58:53 +0800
committerijliao <ijliao@FreeBSD.org>2003-01-17 17:58:53 +0800
commit0fa398761a231c253d16fe5d0b4ba048826f9158 (patch)
tree44eeaa479bb4fb379764c37b6b422a90f2ac8051 /print/font2svg
parent11235e1a9364d4f7d81acd5fc6c25bbe839b7e15 (diff)
downloadfreebsd-ports-gnome-0fa398761a231c253d16fe5d0b4ba048826f9158.tar.gz
freebsd-ports-gnome-0fa398761a231c253d16fe5d0b4ba048826f9158.tar.zst
freebsd-ports-gnome-0fa398761a231c253d16fe5d0b4ba048826f9158.zip
add font2svg
All font to svg-font converter
Diffstat (limited to 'print/font2svg')
-rw-r--r--print/font2svg/Makefile33
-rw-r--r--print/font2svg/distinfo1
-rw-r--r--print/font2svg/files/patch-font2svg11
-rw-r--r--print/font2svg/pkg-comment1
-rw-r--r--print/font2svg/pkg-descr6
-rw-r--r--print/font2svg/pkg-plist4
6 files changed, 56 insertions, 0 deletions
diff --git a/print/font2svg/Makefile b/print/font2svg/Makefile
new file mode 100644
index 000000000000..57c1a15eb18f
--- /dev/null
+++ b/print/font2svg/Makefile
@@ -0,0 +1,33 @@
+# ex:ts=8
+# Ports collection makefile for: font2svg
+# Date created: Jan 10, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= font2svg
+PORTVERSION= 0.1.4
+CATEGORIES= print
+MASTER_SITES= http://www.gdv.uni-hannover.de/~peinecke/font2svg/
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
+ gs:${PORTSDIR}/print/ghostscript-gnu
+
+USE_REINPLACE= yes
+NO_BUILD= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
+ -e "s|/home/peinecke/cprog/font2svg|${DATADIR}|" \
+ ${WRKSRC}/font2svg
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/font2svg ${PREFIX}/bin
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/encodings ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/font2svg.ps ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/print/font2svg/distinfo b/print/font2svg/distinfo
new file mode 100644
index 000000000000..44e1c0150162
--- /dev/null
+++ b/print/font2svg/distinfo
@@ -0,0 +1 @@
+MD5 (font2svg-0.1.4.tar.gz) = 4a5d8ff9f41d2e5052966c14870b7d7e
diff --git a/print/font2svg/files/patch-font2svg b/print/font2svg/files/patch-font2svg
new file mode 100644
index 000000000000..74c72a0a4779
--- /dev/null
+++ b/print/font2svg/files/patch-font2svg
@@ -0,0 +1,11 @@
+--- font2svg.orig Fri Jan 17 17:53:07 2003
++++ font2svg Fri Jan 17 17:54:22 2003
+@@ -57,7 +57,7 @@
+ dvipsencoding="none"
+
+ # parse options
+-TEMP=`getopt -q --long "--kpsewhich,--encoding:1,--dvipsencoding:1,--execute:1,--help,--symbols:1" "hke:1s:1d:1x:1" "$@"`
++TEMP=`getopt hke:s:d:x: $*`
+ echo "$TEMP"
+ eval set -- "$TEMP"
+ while [ ! $1 = "--" ] ; do
diff --git a/print/font2svg/pkg-comment b/print/font2svg/pkg-comment
new file mode 100644
index 000000000000..6d300cea6dc2
--- /dev/null
+++ b/print/font2svg/pkg-comment
@@ -0,0 +1 @@
+All font to svg-font converter
diff --git a/print/font2svg/pkg-descr b/print/font2svg/pkg-descr
new file mode 100644
index 000000000000..a5e500f41be2
--- /dev/null
+++ b/print/font2svg/pkg-descr
@@ -0,0 +1,6 @@
+font2svg can convert any font GhostScript is capable of rendering into an
+SVG-font. This includes all PostScript fonts, GhostScript's own format and
+almost all TrueType fonts. You may want to hand-edit the generated font to
+add font-style information.
+
+WWW: http://www.gdv.uni-hannover.de/~peinecke/font2svg/
diff --git a/print/font2svg/pkg-plist b/print/font2svg/pkg-plist
new file mode 100644
index 000000000000..46c009becdd6
--- /dev/null
+++ b/print/font2svg/pkg-plist
@@ -0,0 +1,4 @@
+bin/font2svg
+%%DATADIR%%/encodings
+%%DATADIR%%/font2svg.ps
+@dirrm %%DATADIR%%