2001-07-24 18:34:30 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: GuitarTeX
|
|
|
|
# Date created: Jul 23, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= guitartex
|
|
|
|
PORTVERSION= 2.4.1
|
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= GuitarTeX converts the Chord format into "normal" LaTeX format
|
2001-07-24 18:34:30 +02:00
|
|
|
|
2001-09-24 23:34:53 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk \
|
2001-07-24 18:34:30 +02:00
|
|
|
latex:${PORTSDIR}/print/latex
|
|
|
|
|
2002-06-28 01:52:18 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-07-24 18:34:30 +02:00
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
post-patch:
|
2002-06-28 01:52:18 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,\"\(.*\.gif\)\",\"${DATADIR}/\1\",g" ${WRKSRC}/guitartex
|
2001-07-24 18:34:30 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/guitartex ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.gif ${WRKSRC}/*.ps ${DATADIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|