aboutsummaryrefslogtreecommitdiffstats
path: root/print/font2svg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/font2svg/Makefile')
-rw-r--r--print/font2svg/Makefile13
1 files changed, 6 insertions, 7 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}