blob: 11b718b0ed99e77c9757a0cd64c641d380537525 (
plain) (
tree)
|
|
# ex:ts=8
# New ports collection makefile for: tex2im
# Date created: Nov 28, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= tex2im
PORTVERSION= 1.3
CATEGORIES= textproc
MASTER_SITES= http://www.nought.de/
MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
latex:${PORTSDIR}/print/teTeX \
convert:${PORTSDIR}/graphics/ImageMagick
NO_BUILD= yes
post-patch:
@${PERL} -pi -e "s,^#!/bin/bash,#!${LOCALBASE}/bin/bash,g" ${WRKSRC}/tex2im
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tex2im ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/examples/tex2im
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/tex2im
.endif
.include <bsd.port.mk>
|