summaryrefslogtreecommitdiff
path: root/print/font2svg/Makefile
blob: e34d8832c06a2147e118956c5a3fa2d9c1030752 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ex:ts=8
# Ports collection makefile for:	font2svg
# Date created:			Jan 10, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	font2svg
PORTVERSION=	0.1.4
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/bash2 \
		gs:${PORTSDIR}/print/ghostscript-gnu

USE_REINPLACE=	yes
NO_BUILD=	yes

post-patch:
	@${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
		-e "s|/home/peinecke/cprog/font2svg|${DATADIR}|" \
		${WRKSRC}/font2svg

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/font2svg ${PREFIX}/bin
	@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/encodings ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/font2svg.ps ${DATADIR}

.include <bsd.port.mk>