aboutsummaryrefslogtreecommitdiff
path: root/print/abc2mtex
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2001-05-28 14:42:19 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2001-05-28 14:42:19 +0000
commitcff22159a4aaa62ccf582ccc8ad36a3047f42a16 (patch)
treec328efcb761d9f33752886335d3d452f95933c80 /print/abc2mtex
parentac2d391b6787fad2a294ccd3390f5d0808c2c4e7 (diff)
downloadports-cff22159a4aaa62ccf582ccc8ad36a3047f42a16.tar.gz
ports-cff22159a4aaa62ccf582ccc8ad36a3047f42a16.zip
Notes
Diffstat (limited to 'print/abc2mtex')
-rw-r--r--print/abc2mtex/Makefile40
-rw-r--r--print/abc2mtex/distinfo1
-rw-r--r--print/abc2mtex/files/patch-Makefile18
-rw-r--r--print/abc2mtex/pkg-comment1
-rw-r--r--print/abc2mtex/pkg-descr10
-rw-r--r--print/abc2mtex/pkg-plist10
6 files changed, 80 insertions, 0 deletions
diff --git a/print/abc2mtex/Makefile b/print/abc2mtex/Makefile
new file mode 100644
index 000000000000..8de7d6638443
--- /dev/null
+++ b/print/abc2mtex/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: abc2mtex
+# Date created: 28 May 2001
+# Whom: joerg
+#
+# $FreeBSD$
+#
+
+PORTNAME= abc2mtex
+PORTVERSION= 1.6.1
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= support/abc2mtex
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= joerg@freebsd.org
+
+RUN_DEPENDS= musixtex:${PORTSDIR}/print/musixtex
+
+NO_WRKSUBDIR= yes
+
+EXAMPLE_FILES= English.abc Jigs.abc Reels.abc Strspys.abc
+DOC_FILES= usrguide.ps
+BIN_FILES= abc2mtex abc2mtex \
+ search abc_search \
+ sort_in abc_sort_in
+
+do-install:
+ cd ${WRKSRC}; \
+ ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}; \
+ ${INSTALL_DATA} ${DOC_FILES} ${PREFIX}/share/doc/${PORTNAME}; \
+ ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/examples; \
+ ${INSTALL_DATA} ${EXAMPLE_FILES} ${PREFIX}/share/doc/${PORTNAME}/examples;
+ set -- ${BIN_FILES}; \
+ while [ $$# -gt 0 ] ; do \
+ src=$$1; tgt=$$2; shift; shift; \
+ ${ECHO} "Installing $$src as ${PREFIX}/bin/$$tgt"; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/$$src ${PREFIX}/bin/$$tgt; \
+ done
+
+.include <bsd.port.mk>
diff --git a/print/abc2mtex/distinfo b/print/abc2mtex/distinfo
new file mode 100644
index 000000000000..32f1375756ed
--- /dev/null
+++ b/print/abc2mtex/distinfo
@@ -0,0 +1 @@
+MD5 (abc2mtex1.6.1.tar.gz) = fe3730357586a1c1551be53a0a1cc9ca
diff --git a/print/abc2mtex/files/patch-Makefile b/print/abc2mtex/files/patch-Makefile
new file mode 100644
index 000000000000..d0aa1ad5256b
--- /dev/null
+++ b/print/abc2mtex/files/patch-Makefile
@@ -0,0 +1,18 @@
+--- Makefile.orig Wed Sep 25 15:25:40 1996
++++ Makefile Mon May 28 16:30:58 2001
+@@ -1,14 +1,9 @@
+ # you may need to change these for your system
+-CFLAGS = -g
+-MAKE = make
+-CC = cc
+-RM = /bin/rm
+
+ TEX = userguide music
+ ABC = English Jigs Reels Strspys
+
+-install: abc2mtex sort_in search
+- $(RM) -f *.o
++all: abc2mtex sort_in search
+
+ abc2mtex: fields.o abc.o tex.o index.o
+ $(CC) $(CFLAGS) -o $@ fields.o abc.o tex.o index.o
diff --git a/print/abc2mtex/pkg-comment b/print/abc2mtex/pkg-comment
new file mode 100644
index 000000000000..63935ef4fa6a
--- /dev/null
+++ b/print/abc2mtex/pkg-comment
@@ -0,0 +1 @@
+Music TeX converter from "abc" to MusiXTeX format
diff --git a/print/abc2mtex/pkg-descr b/print/abc2mtex/pkg-descr
new file mode 100644
index 000000000000..bd3534d76a7c
--- /dev/null
+++ b/print/abc2mtex/pkg-descr
@@ -0,0 +1,10 @@
+abc2mtex converts the "abc" music notation into MusiXTeX format. This
+can help simplifying writing tunes in a TeX format.
+
+The abc2mtex user documentation is installed as
+${PREFIX:-/usr/local}/share/doc/abc2mtex/usrguide.ps, and a few
+examples can be found there in another subdirectory called `examples'.
+
+Note that the original programs `search' and `sort_in' have been
+renamed to `abc_search' and `abc_sort_in', respectively, to make their
+purpose clearer.
diff --git a/print/abc2mtex/pkg-plist b/print/abc2mtex/pkg-plist
new file mode 100644
index 000000000000..e745778b2349
--- /dev/null
+++ b/print/abc2mtex/pkg-plist
@@ -0,0 +1,10 @@
+bin/abc2mtex
+bin/abc_search
+bin/abc_sort_in
+share/doc/abc2mtex/usrguide.ps
+share/doc/abc2mtex/examples/English.abc
+share/doc/abc2mtex/examples/Jigs.abc
+share/doc/abc2mtex/examples/Reels.abc
+share/doc/abc2mtex/examples/Strspys.abc
+@dirrm share/doc/abc2mtex/examples
+@dirrm share/doc/abc2mtex