freebsd-ports/misc/chord2html/Makefile
Clement Laforet b497cd441f misc category cleanup part 2 of 6:
- Use DATADIR/DOCSDIR/PORTSDOC
- SIZEify port
- make portlint happy

* chord2html, cwish, demoniac
    - kill pkg-plist

PR:                 61027
Submitted by:       Vincent Tantardini <vinc@FreeBSD-fr.org>
Updated/reworked by: me
2004-02-11 13:50:59 +00:00

38 lines
843 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
PLIST_FILES= bin/chord2html share/chord2html/chord2html.css
PLIST_DIR= share/chord2html
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>