mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
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:
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
|
@ -18,6 +18,7 @@ RUN_DEPENDS= musixtex:${PORTSDIR}/print/musixtex
|
||||||
|
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
|
|
||||||
|
TEXMF= ${PREFIX}/share/texmf
|
||||||
EXAMPLE_FILES= English.abc Jigs.abc Reels.abc Strspys.abc
|
EXAMPLE_FILES= English.abc Jigs.abc Reels.abc Strspys.abc
|
||||||
DOC_FILES= usrguide.ps
|
DOC_FILES= usrguide.ps
|
||||||
BIN_FILES= abc2mtex abc2mtex \
|
BIN_FILES= abc2mtex abc2mtex \
|
||||||
|
@ -26,10 +27,11 @@ BIN_FILES= abc2mtex abc2mtex \
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
cd ${WRKSRC}; \
|
cd ${WRKSRC}; \
|
||||||
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}; \
|
${MKDIR} ${TEXMF}/doc/${PORTNAME}; \
|
||||||
${INSTALL_DATA} ${DOC_FILES} ${PREFIX}/share/doc/${PORTNAME}; \
|
${INSTALL_DATA} ${DOC_FILES} ${TEXMF}/doc/${PORTNAME}; \
|
||||||
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/examples; \
|
${MKDIR} ${TEXMF}/doc/${PORTNAME}/examples; \
|
||||||
${INSTALL_DATA} ${EXAMPLE_FILES} ${PREFIX}/share/doc/${PORTNAME}/examples;
|
${INSTALL_DATA} ${EXAMPLE_FILES} ${TEXMF}/doc/${PORTNAME}/examples; \
|
||||||
|
${INSTALL_DATA} header.tex ${TEXMF}/tex/abc2mtex_header.tex
|
||||||
set -- ${BIN_FILES}; \
|
set -- ${BIN_FILES}; \
|
||||||
while [ $$# -gt 0 ] ; do \
|
while [ $$# -gt 0 ] ; do \
|
||||||
src=$$1; tgt=$$2; shift; shift; \
|
src=$$1; tgt=$$2; shift; shift; \
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
--- Makefile.orig Wed Sep 25 15:25:40 1996
|
--- Makefile.orig Wed Sep 25 15:25:40 1996
|
||||||
+++ Makefile Mon May 28 16:30:58 2001
|
+++ Makefile Mon May 28 22:40:49 2001
|
||||||
@@ -1,14 +1,9 @@
|
@@ -1,14 +1,11 @@
|
||||||
# you may need to change these for your system
|
# you may need to change these for your system
|
||||||
-CFLAGS = -g
|
-CFLAGS = -g
|
||||||
-MAKE = make
|
-MAKE = make
|
||||||
-CC = cc
|
-CC = cc
|
||||||
-RM = /bin/rm
|
-RM = /bin/rm
|
||||||
|
+
|
||||||
|
+CFLAGS+= -DHEADER=\"${PREFIX}/share/texmf/tex/abc2mtex_header.tex\"
|
||||||
|
|
||||||
TEX = userguide music
|
TEX = userguide music
|
||||||
ABC = English Jigs Reels Strspys
|
ABC = English Jigs Reels Strspys
|
||||||
|
|
11
print/abc2mtex/files/patch-tex.c
Normal file
11
print/abc2mtex/files/patch-tex.c
Normal 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");
|
||||||
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ abc2mtex converts the "abc" music notation into MusiXTeX format. This
|
||||||
can help simplifying writing tunes in a TeX format.
|
can help simplifying writing tunes in a TeX format.
|
||||||
|
|
||||||
The abc2mtex user documentation is installed as
|
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'.
|
examples can be found there in another subdirectory called `examples'.
|
||||||
|
|
||||||
Note that the original programs `search' and `sort_in' have been
|
Note that the original programs `search' and `sort_in' have been
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
bin/abc2mtex
|
bin/abc2mtex
|
||||||
bin/abc_search
|
bin/abc_search
|
||||||
bin/abc_sort_in
|
bin/abc_sort_in
|
||||||
share/doc/abc2mtex/usrguide.ps
|
share/texmf/doc/abc2mtex/usrguide.ps
|
||||||
share/doc/abc2mtex/examples/English.abc
|
share/texmf/doc/abc2mtex/examples/English.abc
|
||||||
share/doc/abc2mtex/examples/Jigs.abc
|
share/texmf/doc/abc2mtex/examples/Jigs.abc
|
||||||
share/doc/abc2mtex/examples/Reels.abc
|
share/texmf/doc/abc2mtex/examples/Reels.abc
|
||||||
share/doc/abc2mtex/examples/Strspys.abc
|
share/texmf/doc/abc2mtex/examples/Strspys.abc
|
||||||
@dirrm share/doc/abc2mtex/examples
|
share/texmf/tex/abc2mtex_header.tex
|
||||||
@dirrm share/doc/abc2mtex
|
@dirrm share/texmf/doc/abc2mtex/examples
|
||||||
|
@dirrm share/texmf/doc/abc2mtex
|
||||||
|
|
Loading…
Add table
Reference in a new issue