1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/print/font2svg/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

34 lines
826 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= font2svg
PORTVERSION= 1.0
PORTREVISION= 6
CATEGORIES= print
MASTER_SITES= http://BSDforge.com/projects/source/print/font2svg/
MAINTAINER= portmaster@BSDforge.com
COMMENT= All fonts to svg-font converter
LICENSE= GPLv2
RUN_DEPENDS= bash:shells/bash
USES= ghostscript:run
NO_BUILD= yes
PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
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 ${STAGEDIR}${PREFIX}/bin/font2svg
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/encodings ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/font2svg.ps ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>