diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/font2svg/Makefile | 33 | ||||
-rw-r--r-- | print/font2svg/distinfo | 1 | ||||
-rw-r--r-- | print/font2svg/files/patch-font2svg | 11 | ||||
-rw-r--r-- | print/font2svg/pkg-comment | 1 | ||||
-rw-r--r-- | print/font2svg/pkg-descr | 6 | ||||
-rw-r--r-- | print/font2svg/pkg-plist | 4 |
7 files changed, 57 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index b24f9c07863b..0a5f39727f44 100644 --- a/print/Makefile +++ b/print/Makefile @@ -55,6 +55,7 @@ SUBDIR += enscript-letterdj SUBDIR += enscriptfonts SUBDIR += envelope + SUBDIR += font2svg SUBDIR += freetype SUBDIR += freetype2 SUBDIR += ft2demos 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%% |