1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/misc/chord2html/Makefile
Ying-Chieh Liao c634b4bb83 utilize SITE_PERL
PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
2003-10-24 12:05:09 +00:00

35 lines
754 B
Makefile

# ex:ts=8
# Ports collection makefile for: chord2html
# Date created: Sep 11, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= chord2html
PORTVERSION= 1.3
CATEGORIES= misc
MASTER_SITES= http://helllabs.org/~claudio/chord/
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert CHORD input files to HTML
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
USE_PERL5= yes
NO_BUILD= yes
MAN1= chord2html.1
post-patch:
@${PERL} -pi -e "s,/usr/bin/perl,${PERL},g ; \
s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/chord2html
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/chord2html ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/chord2html.css ${DATADIR}
.include <bsd.port.mk>