1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

add chord2html 1.3

Convert CHORD input files to HTML
This commit is contained in:
Ying-Chieh Liao 2002-09-11 10:51:16 +00:00
parent f5caf714c5
commit 3685f97d36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66117
7 changed files with 57 additions and 0 deletions

View File

@ -37,6 +37,7 @@
SUBDIR += cheatah
SUBDIR += chef
SUBDIR += chord
SUBDIR += chord2html
SUBDIR += cmatrix
SUBDIR += colorls
SUBDIR += colortail

33
misc/chord2html/Makefile Normal file
View File

@ -0,0 +1,33 @@
# 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
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>

1
misc/chord2html/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (chord2html-1.3.tar.gz) = fcbca77921bb1ad03b82416b0b4c3e63

View File

@ -0,0 +1,11 @@
--- chord2html.orig Wed Sep 11 18:45:11 2002
+++ chord2html Wed Sep 11 18:45:30 2002
@@ -32,7 +32,7 @@
$bg_color = "white";
$format = $opt_T || "png";
$color = "color=\"blue\"";
-$style = $opt_s || "chord2html.css";
+$style = $opt_s || "%%PREFIX%%/share/chord2html/chord2html.css";
$me = $0;
$opt_q && ($opt_v = 0);

View File

@ -0,0 +1 @@
Convert CHORD input files to HTML

View File

@ -0,0 +1,7 @@
chord2html is a small Perl script to convert CHORD input files (the .chopro
files in OLGA) to HTML. The HTML files are similar to the PostScript documents
produced by CHORD; chord2html reads a text file containing the lyrics and
chords of a song to produce a page with chord names above the words and a
graphical representation of the chords at the end of the songs.
WWW: http://helllabs.org/~claudio/chord/

View File

@ -0,0 +1,3 @@
bin/chord2html
share/chord2html/chord2html.css
@dirrm share/chord2html