090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
37 lines
880 B
Makefile
37 lines
880 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: font2svg
|
|
# Date created: Jan 10, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= font2svg
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www.gdv.uni-hannover.de/~peinecke/font2svg/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= All font to svg-font converter
|
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
post-patch:
|
|
@${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.sh ${PREFIX}/bin/font2svg
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/encodings ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/font2svg.ps ${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|