freebsd-ports/print/font2svg/Makefile

32 lines
814 B
Makefile
Raw Normal View History

# Created by: ijliao
# $FreeBSD$
PORTNAME= font2svg
2004-11-12 16:42:38 +01:00
PORTVERSION= 1.0
PORTREVISION= 5
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
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USES= ghostscript:run
NO_BUILD= yes
PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
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
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}
.include <bsd.port.mk>