aboutsummaryrefslogtreecommitdiff
path: root/print/font2svg
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-11-12 15:42:38 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-11-12 15:42:38 +0000
commitc981979d9248bff067b1effab2b076bba92ca2e7 (patch)
tree13d18f267682672a9df7f2b0364240a03bef14ed /print/font2svg
parent463dcb357edc28845223a4479adc1024958cf9f9 (diff)
downloadports-c981979d9248bff067b1effab2b076bba92ca2e7.tar.gz
ports-c981979d9248bff067b1effab2b076bba92ca2e7.zip
Notes
Diffstat (limited to 'print/font2svg')
-rw-r--r--print/font2svg/Makefile13
-rw-r--r--print/font2svg/distinfo4
2 files changed, 8 insertions, 9 deletions
diff --git a/print/font2svg/Makefile b/print/font2svg/Makefile
index 906a02a91f02..12ce21e10720 100644
--- a/print/font2svg/Makefile
+++ b/print/font2svg/Makefile
@@ -7,18 +7,17 @@
#
PORTNAME= font2svg
-PORTVERSION= 0.1.5
+PORTVERSION= 1.0
CATEGORIES= print
MASTER_SITES= http://www.gdv.uni-hannover.de/~peinecke/font2svg/
MAINTAINER= ports@FreeBSD.org
COMMENT= All font to svg-font converter
-USE_GHOSTSCRIPT_RUN= yes
-
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_REINPLACE= yes
+USE_GHOSTSCRIPT_RUN= yes
NO_BUILD= yes
PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
@@ -33,12 +32,12 @@ pre-everything::
.endif
post-patch:
- @${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
+ @${REINPLACE_CMD} -e "s|^#!/bin/bash|#!/usr/bin/env bash| ; \
+ s|^font2svg_home=.*$$|font2svg_home=${DATADIR}|" \
+ ${WRKSRC}/font2svg.sh
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/font2svg ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/font2svg.sh ${PREFIX}/bin/font2svg
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/encodings ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/font2svg.ps ${DATADIR}
diff --git a/print/font2svg/distinfo b/print/font2svg/distinfo
index 8c0d06b95e5d..b7e1b454318d 100644
--- a/print/font2svg/distinfo
+++ b/print/font2svg/distinfo
@@ -1,2 +1,2 @@
-MD5 (font2svg-0.1.5.tar.gz) = acb9bdc005af3c1a47e561ca4a7b197f
-SIZE (font2svg-0.1.5.tar.gz) = 12209
+MD5 (font2svg-1.0.tar.gz) = caec706275b96bfeaf8bd9a77f174c7e
+SIZE (font2svg-1.0.tar.gz) = 12709