aboutsummaryrefslogtreecommitdiff
path: root/print/font2svg
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-11-04 23:53:58 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-11-04 23:53:58 +0000
commit541e7be8c5e9d7b6660bb1578a6abd0d6e44fce7 (patch)
treec235d4c69fe3a84dd5c9964f8d8ca9be580aaf22 /print/font2svg
parentf67e946c8e1d62692778d227d882d2410ea74984 (diff)
downloadports-541e7be8c5e9d7b6660bb1578a6abd0d6e44fce7.tar.gz
ports-541e7be8c5e9d7b6660bb1578a6abd0d6e44fce7.zip
Notes
Diffstat (limited to 'print/font2svg')
-rw-r--r--print/font2svg/Makefile14
-rw-r--r--print/font2svg/distinfo4
-rw-r--r--print/font2svg/files/patch-font2svg13
-rw-r--r--print/font2svg/pkg-plist4
4 files changed, 10 insertions, 25 deletions
diff --git a/print/font2svg/Makefile b/print/font2svg/Makefile
index bd997ab4a7fb..906a02a91f02 100644
--- a/print/font2svg/Makefile
+++ b/print/font2svg/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= font2svg
-PORTVERSION= 0.1.4
-PORTREVISION= 1
+PORTVERSION= 0.1.5
CATEGORIES= print
MASTER_SITES= http://www.gdv.uni-hannover.de/~peinecke/font2svg/
@@ -17,11 +16,14 @@ COMMENT= All font to svg-font converter
USE_GHOSTSCRIPT_RUN= yes
-RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_REINPLACE= yes
NO_BUILD= yes
+PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
+PLIST_DIRS= %%DATADIR%%
+
pre-everything::
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
@${ECHO_MSG} ""
@@ -31,9 +33,9 @@ pre-everything::
.endif
post-patch:
- @${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
- -e "s|/home/peinecke/cprog/font2svg|${DATADIR}|" \
- ${WRKSRC}/font2svg
+ @${REINPLACE_CMD} -e "s|^#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \
+ s|^font2svg_home=.*$$|font2svg_home=${DATADIR}| ; \
+ s|^non_gnu_getopt=.*$$|non_gnu_getopt=1|" ${WRKSRC}/font2svg
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/font2svg ${PREFIX}/bin
diff --git a/print/font2svg/distinfo b/print/font2svg/distinfo
index 51953d88ec73..8c0d06b95e5d 100644
--- a/print/font2svg/distinfo
+++ b/print/font2svg/distinfo
@@ -1,2 +1,2 @@
-MD5 (font2svg-0.1.4.tar.gz) = 1ce1fc21f9681ae3d2b953266c3066f0
-SIZE (font2svg-0.1.4.tar.gz) = 11677
+MD5 (font2svg-0.1.5.tar.gz) = acb9bdc005af3c1a47e561ca4a7b197f
+SIZE (font2svg-0.1.5.tar.gz) = 12209
diff --git a/print/font2svg/files/patch-font2svg b/print/font2svg/files/patch-font2svg
deleted file mode 100644
index 6e578f98b097..000000000000
--- a/print/font2svg/files/patch-font2svg
+++ /dev/null
@@ -1,13 +0,0 @@
---- font2svg.orig Sun Mar 30 23:49:25 2003
-+++ font2svg Sun Mar 30 23:49:34 2003
-@@ -58,8 +58,8 @@
-
- # parse options
- # *BSD and AIX users replace this by
--# TEMP=`getopt hke:s:d:x: $*`
--TEMP=`getopt -q --long "--kpsewhich,--encoding:1,--dvipsencoding:1,--execute:1,--help,--symbols:1" "hke:s:d:x:" "$@"`
-+TEMP=`getopt hke:s:d:x: $*`
-+#TEMP=`getopt -q --long "--kpsewhich,--encoding:1,--dvipsencoding:1,--execute:1,--help,--symbols:1" "hke:s:d:x:" "$@"`
- echo "$TEMP"
- eval set -- "$TEMP"
- while [ ! $1 = "--" ] ; do
diff --git a/print/font2svg/pkg-plist b/print/font2svg/pkg-plist
deleted file mode 100644
index 46c009becdd6..000000000000
--- a/print/font2svg/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/font2svg
-%%DATADIR%%/encodings
-%%DATADIR%%/font2svg.ps
-@dirrm %%DATADIR%%