aboutsummaryrefslogtreecommitdiff
path: root/misc/chord2html/Makefile
blob: 893ac2352e722dda98ee3075ce6355a7f5c526f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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

PORTCOMMENT=	Convert CHORD input files to HTML

RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${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>