This commit is contained in:
Vanilla I. Shu 2014-06-10 03:24:09 +00:00
parent 382844150f
commit 3546c125dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357249

View File

@ -18,16 +18,15 @@ NO_BUILD= yes
PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
PLIST_DIRS= %%DATADIR%%
NO_STAGE= yes
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}
${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>