aboutsummaryrefslogtreecommitdiff
path: root/print/font2svg/Makefile
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/Makefile
parentf67e946c8e1d62692778d227d882d2410ea74984 (diff)
downloadports-541e7be8c5e9d7b6660bb1578a6abd0d6e44fce7.tar.gz
ports-541e7be8c5e9d7b6660bb1578a6abd0d6e44fce7.zip
Notes
Diffstat (limited to 'print/font2svg/Makefile')
-rw-r--r--print/font2svg/Makefile14
1 files changed, 8 insertions, 6 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