aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-11-12 23:42:38 +0800
committerijliao <ijliao@FreeBSD.org>2004-11-12 23:42:38 +0800
commit0a26e5c9d92f77442ae9820fba1c55bef4775e71 (patch)
tree433fc2027f7108dfe01b058f1dcebaee8ebeb50b
parent0f8e5a106703cc1137b94a606444692b06c5e27b (diff)
downloadfreebsd-ports-gnome-0a26e5c9d92f77442ae9820fba1c55bef4775e71.tar.gz
freebsd-ports-gnome-0a26e5c9d92f77442ae9820fba1c55bef4775e71.tar.zst
freebsd-ports-gnome-0a26e5c9d92f77442ae9820fba1c55bef4775e71.zip
upgrade to 1.0
-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