Changed my mind regarding the place where to install the docs: this

now all goes below ${PREFIX}/share/texmf/, so to conform with other
TeX ports.

Need to install header.tex, though i rather decided to rename that file
while installing.

Now it's ready to go. ;-)
This commit is contained in:
Joerg Wunsch 2001-05-28 20:47:15 +00:00
parent 51cbf5c835
commit 61a90bd369
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43217
5 changed files with 30 additions and 14 deletions

View file

@ -18,6 +18,7 @@ RUN_DEPENDS= musixtex:${PORTSDIR}/print/musixtex
NO_WRKSUBDIR= yes
TEXMF= ${PREFIX}/share/texmf
EXAMPLE_FILES= English.abc Jigs.abc Reels.abc Strspys.abc
DOC_FILES= usrguide.ps
BIN_FILES= abc2mtex abc2mtex \
@ -26,10 +27,11 @@ BIN_FILES= abc2mtex abc2mtex \
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;
${MKDIR} ${TEXMF}/doc/${PORTNAME}; \
${INSTALL_DATA} ${DOC_FILES} ${TEXMF}/doc/${PORTNAME}; \
${MKDIR} ${TEXMF}/doc/${PORTNAME}/examples; \
${INSTALL_DATA} ${EXAMPLE_FILES} ${TEXMF}/doc/${PORTNAME}/examples; \
${INSTALL_DATA} header.tex ${TEXMF}/tex/abc2mtex_header.tex
set -- ${BIN_FILES}; \
while [ $$# -gt 0 ] ; do \
src=$$1; tgt=$$2; shift; shift; \

View file

@ -1,11 +1,13 @@
--- Makefile.orig Wed Sep 25 15:25:40 1996
+++ Makefile Mon May 28 16:30:58 2001
@@ -1,14 +1,9 @@
+++ Makefile Mon May 28 22:40:49 2001
@@ -1,14 +1,11 @@
# you may need to change these for your system
-CFLAGS = -g
-MAKE = make
-CC = cc
-RM = /bin/rm
+
+CFLAGS+= -DHEADER=\"${PREFIX}/share/texmf/tex/abc2mtex_header.tex\"
TEX = userguide music
ABC = English Jigs Reels Strspys

View file

@ -0,0 +1,11 @@
--- tex.c.orig Mon Jan 13 15:04:40 1997
+++ tex.c Mon May 28 22:34:57 2001
@@ -65,7 +65,7 @@
} else (void) fprintf(Out,"\\def\\abcmusix{N}\n");
if (settings.mine)
(void) fprintf(Out,"\\input dscgrphy\n");
- (void) fprintf(Out,"\\input header\n%%\n");
+ (void) fprintf(Out,"\\input %s\n%%\n", HEADER);
if (musix == 1) (void) fprintf(Out,"\\startmuflex%%\n");
}

View file

@ -2,7 +2,7 @@ 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
${PREFIX:-/usr/local}/share/texmf/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

View file

@ -1,10 +1,11 @@
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
share/texmf/doc/abc2mtex/usrguide.ps
share/texmf/doc/abc2mtex/examples/English.abc
share/texmf/doc/abc2mtex/examples/Jigs.abc
share/texmf/doc/abc2mtex/examples/Reels.abc
share/texmf/doc/abc2mtex/examples/Strspys.abc
share/texmf/tex/abc2mtex_header.tex
@dirrm share/texmf/doc/abc2mtex/examples
@dirrm share/texmf/doc/abc2mtex