2013-09-21 00:43:59 +02:00
|
|
|
# Created by: ijliao
|
2003-01-17 10:58:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= font2svg
|
2004-11-12 16:42:38 +01:00
|
|
|
PORTVERSION= 1.0
|
2015-08-22 19:48:35 +02:00
|
|
|
PORTREVISION= 5
|
2003-01-17 10:58:53 +01:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= http://www.gdv.uni-hannover.de/~peinecke/font2svg/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= All font to svg-font converter
|
2003-01-17 10:58:53 +01:00
|
|
|
|
2004-11-05 00:53:58 +01:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2003-01-17 10:58:53 +01:00
|
|
|
|
2015-07-16 22:53:28 +02:00
|
|
|
USES= ghostscript:run
|
2003-01-17 10:58:53 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2004-11-05 00:53:58 +01:00
|
|
|
PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
|
|
|
|
|
2003-01-17 10:58:53 +01:00
|
|
|
post-patch:
|
2004-11-12 16:42:38 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|^#!/bin/bash|#!/usr/bin/env bash| ; \
|
|
|
|
s|^font2svg_home=.*$$|font2svg_home=${DATADIR}|" \
|
|
|
|
${WRKSRC}/font2svg.sh
|
2003-01-17 10:58:53 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-06-10 05:24:09 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/font2svg.sh ${STAGEDIR}${PREFIX}/bin/font2svg
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/encodings ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/font2svg.ps ${STAGEDIR}${DATADIR}
|
2003-01-17 10:58:53 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|