summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 00:58:59 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 00:58:59 +0000
commita14dc49c57fca39bbbb867b97e6af4e6797d43d4 (patch)
tree16fec40d6c3226712d5bac9851c5246d11c2eca2 /print
parentRename sysutils/clean into sysutils/clean_ (diff)
New port for print/mup
A shareware program for typesetting music PR: ports/45812 Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
Notes
Notes: svn path=/head/; revision=90329
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/mup/Makefile43
-rw-r--r--print/mup/distinfo2
-rw-r--r--print/mup/files/Makefile6
-rw-r--r--print/mup/files/Makefile.disp14
-rw-r--r--print/mup/files/Makefile.fnt5
-rw-r--r--print/mup/files/Makefile.mup57
-rw-r--r--print/mup/files/patch-aa22
-rw-r--r--print/mup/files/patch-ab19
-rw-r--r--print/mup/files/patch-ac11
-rw-r--r--print/mup/pkg-descr8
-rw-r--r--print/mup/pkg-message7
-rw-r--r--print/mup/pkg-plist160
13 files changed, 355 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index e9a56e435996..b9144d78ec65 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -102,6 +102,7 @@
SUBDIR += mp-a4
SUBDIR += mp-letter
SUBDIR += mpage
+ SUBDIR += mup
SUBDIR += musixtex
SUBDIR += muttprint
SUBDIR += nenscript
diff --git a/print/mup/Makefile b/print/mup/Makefile
new file mode 100644
index 000000000000..77f416a62bc9
--- /dev/null
+++ b/print/mup/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: mup
+# Date Created: Oct 4, 2002
+# Whom: Daniel O'Connor <darius@dons.net.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mup
+PORTVERSION= 4.5
+PORTREVISION= 0
+CATEGORIES= print audio
+MASTER_SITES= ftp://ftp.arkkra.com/pub/unix/
+DISTFILES= mup45src.tar.gz mup45doc.tar.gz
+
+MAINTAINER= darius@dons.net.au
+COMMENT= A shareware program for typesetting music
+
+BUILD_WRKSRC= ${WRKSRC}
+NO_WRKSUBDIR= yes
+
+post-extract:
+ ${CP} ${FILESDIR}/Makefile ${BUILD_WRKSRC}/Makefile
+ ${CP} ${FILESDIR}/Makefile.mup ${BUILD_WRKSRC}/mup/Makefile
+ ${CP} ${FILESDIR}/Makefile.fnt ${BUILD_WRKSRC}/mkmupfnt/Makefile
+ ${CP} ${FILESDIR}/Makefile.disp ${BUILD_WRKSRC}/mupdisp/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mup/mup ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mkmupfnt/mkmupfnt ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mupdisp/mupdisp ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/mupprnt ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/doc/mup
+.if !defined(NOPORTDOCS)
+ tar -cf - -C ${WRKSRC} overview.txt register.txt README0 README1 mupfeat.txt faq.txt license.txt uguide uguide.ps | tar -C ${PREFIX}/share/doc/mup -xf -
+ ${INSTALL_MAN} ${WRKSRC}/mup.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/mkmupfnt.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/mupdisp.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/mupprnt.1 ${PREFIX}/man/man1
+.endif
+
+MAN1= mup.1 mkmupfnt.1 mupdisp.1 mupprnt.1
+
+.include <bsd.port.mk>
diff --git a/print/mup/distinfo b/print/mup/distinfo
new file mode 100644
index 000000000000..6724b147c96e
--- /dev/null
+++ b/print/mup/distinfo
@@ -0,0 +1,2 @@
+MD5 (mup45src.tar.gz) = 4896e4a0dc9b54afe398c816db30ac5b
+MD5 (mup45doc.tar.gz) = 54548d097ab8e7fe09b207e99ecc01f3
diff --git a/print/mup/files/Makefile b/print/mup/files/Makefile
new file mode 100644
index 000000000000..524ff65e9aa1
--- /dev/null
+++ b/print/mup/files/Makefile
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+SUBDIR+= mup mkmupfnt mupdisp
+
+.include <bsd.subdir.mk>
+
diff --git a/print/mup/files/Makefile.disp b/print/mup/files/Makefile.disp
new file mode 100644
index 000000000000..c104bde1db6b
--- /dev/null
+++ b/print/mup/files/Makefile.disp
@@ -0,0 +1,14 @@
+PROG= mupdisp
+NOMAN=
+
+SRCS= do_cmd.c \
+ genfile.c \
+ init.c \
+ mupdisp.c \
+ xterm.c
+
+CFLAGS+=-I/usr/X11R6/include
+LDADD+= -L/usr/X11R6/lib -lX11
+
+.include <bsd.prog.mk>
+
diff --git a/print/mup/files/Makefile.fnt b/print/mup/files/Makefile.fnt
new file mode 100644
index 000000000000..fce043933ec8
--- /dev/null
+++ b/print/mup/files/Makefile.fnt
@@ -0,0 +1,5 @@
+PROG= mkmupfnt
+NOMAN=
+
+.include <bsd.prog.mk>
+
diff --git a/print/mup/files/Makefile.mup b/print/mup/files/Makefile.mup
new file mode 100644
index 000000000000..dc4440a8b21b
--- /dev/null
+++ b/print/mup/files/Makefile.mup
@@ -0,0 +1,57 @@
+PROG= mup
+LDADD+= -lm
+NOMAN=
+
+SRCS= abshorz.c \
+ absvert.c \
+ assign.c \
+ beaming.c \
+ beamstem.c \
+ brac.c \
+ charinfo.c \
+ check.c \
+ debug.c \
+ errors.c \
+ extchtbl.c \
+ font.c \
+ fontdata.c \
+ globals.c \
+ grpsyl.c \
+ lex.c \
+ locvar.c \
+ lyrics.c \
+ macros.c \
+ main.c \
+ mainlist.c \
+ map.c \
+ midi.c \
+ midiutil.c \
+ mkchords.c \
+ muschtbl.c \
+ nxtstrch.c \
+ parstuff.c \
+ phrase.c \
+ plutils.c \
+ print.c \
+ prntdata.c \
+ prntmisc.c \
+ prnttab.c \
+ prolog.c \
+ range.c \
+ rational.c \
+ relvert.c \
+ restsyl.c \
+ roll.c \
+ setgrps.c \
+ setnotes.c \
+ ssv.c \
+ stuff.c \
+ symtbl.c \
+ tie.c \
+ trantab.c \
+ trnspose.c \
+ undrscre.c \
+ utils.c \
+ ytab.c
+
+.include <bsd.prog.mk>
diff --git a/print/mup/files/patch-aa b/print/mup/files/patch-aa
new file mode 100644
index 000000000000..e95febbaefd8
--- /dev/null
+++ b/print/mup/files/patch-aa
@@ -0,0 +1,22 @@
+--- mupdisp/mupdisp.c.orig Wed Nov 27 20:49:30 2002
++++ mupdisp/mupdisp.c Wed Nov 27 23:03:09 2002
+@@ -45,6 +45,10 @@
+ * chmod 4755 mupdisp
+ */
+
++#include <stdio.h>
++#include <stdlib.h>
++#include <unistd.h>
++#include <sys/signal.h>
+
+ #include "mupdisp.h"
+ #ifdef __WATCOMC__
+@@ -112,7 +116,7 @@
+ /* arrange to clean up temp files. Note that the user interface
+ * will probably have its own cleanup */
+ for (n = 0; n < NSIG; n++) {
+- if (n != SIGKILL && n != SIGCLD && n != SIGWINCH) {
++ if (n != SIGKILL && n != SIGCHLD && n != SIGWINCH) {
+ signal(n, generalcleanup);
+ }
+ }
diff --git a/print/mup/files/patch-ab b/print/mup/files/patch-ab
new file mode 100644
index 000000000000..9ff9bb04ec29
--- /dev/null
+++ b/print/mup/files/patch-ab
@@ -0,0 +1,19 @@
+--- mupdisp/mupdisp.h.orig Sun Oct 5 17:53:43 2003
++++ mupdisp/mupdisp.h Sun Oct 5 17:54:05 2003
+@@ -12,8 +12,7 @@
+ #include <signal.h>
+ #include <string.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+-#if !defined(linux) && !defined(__EMX__)
++#if !defined(linux) && !defined(__EMX__) && !defined(__FreeBSD__)
+ /* undef SIGCHLD to avoid conflict with Xos.h */
+ #undef SIGCHLD
+ #endif
+@@ -146,6 +145,3 @@
+ extern void init P((void));
+ extern void do_cmd P((int c));
+
+-extern char *getenv();
+-extern long ftell();
+-extern long lseek();
diff --git a/print/mup/files/patch-ac b/print/mup/files/patch-ac
new file mode 100644
index 000000000000..3904bf0268ad
--- /dev/null
+++ b/print/mup/files/patch-ac
@@ -0,0 +1,11 @@
+--- mupdisp/dispttyp.h.orig Sat Jun 22 12:30:53 2002
++++ mupdisp/dispttyp.h Wed Nov 27 23:28:55 2002
+@@ -9,7 +9,7 @@
+ * Support for other terminal types could be added in the future. */
+
+ #ifdef i386
+-#if !defined(linux) && !defined(__EMX__)
++#if !defined(linux) && !defined(__EMX__) && !defined(__FreeBSD__)
+ #define AT386 1
+ #endif
+ #endif
diff --git a/print/mup/pkg-descr b/print/mup/pkg-descr
new file mode 100644
index 000000000000..6df88bbcc6ce
--- /dev/null
+++ b/print/mup/pkg-descr
@@ -0,0 +1,8 @@
+The music publisher program called Mup takes a text file describing
+music as input, and generates PostScript output for printing that music.
+The input file can be created using your favorite text editor, or generated
+from any other source, such as another program. The input must be written
+in a special language designed especially for describing music. The majority
+of the Mup User's Guide is the explanation of this language and how to use it.
+
+WWW: http://www.arkkra.com/
diff --git a/print/mup/pkg-message b/print/mup/pkg-message
new file mode 100644
index 000000000000..67bfbfcbefa1
--- /dev/null
+++ b/print/mup/pkg-message
@@ -0,0 +1,7 @@
+
+*******************************************************************************
+* This port contains a prebuilt kernel module. Due to the ever changing *
+* nature of FreeBSD it may be necessary to rebuild the module after a kernel *
+* source update. To do this reinstall the port. *
+*******************************************************************************
+
diff --git a/print/mup/pkg-plist b/print/mup/pkg-plist
new file mode 100644
index 000000000000..dc8b90b67e40
--- /dev/null
+++ b/print/mup/pkg-plist
@@ -0,0 +1,160 @@
+bin/mup
+bin/mkmupfnt
+bin/mupdisp
+bin/mupprnt
+%%PORTDOCS%%share/doc/mup/overview.txt
+%%PORTDOCS%%share/doc/mup/register.txt
+%%PORTDOCS%%share/doc/mup/README0
+%%PORTDOCS%%share/doc/mup/README1
+%%PORTDOCS%%share/doc/mup/mupfeat.txt
+%%PORTDOCS%%share/doc/mup/faq.txt
+%%PORTDOCS%%share/doc/mup/license.txt
+%%PORTDOCS%%share/doc/mup/uguide/adjust.html
+%%PORTDOCS%%share/doc/mup/uguide/altinp.html
+%%PORTDOCS%%share/doc/mup/uguide/bars.html
+%%PORTDOCS%%share/doc/mup/uguide/basics.html
+%%PORTDOCS%%share/doc/mup/uguide/brackmac.html
+%%PORTDOCS%%share/doc/mup/uguide/cadenza.html
+%%PORTDOCS%%share/doc/mup/uguide/chordinp.html
+%%PORTDOCS%%share/doc/mup/uguide/chrdattr.html
+%%PORTDOCS%%share/doc/mup/uguide/cmdargs.html
+%%PORTDOCS%%share/doc/mup/uguide/contexts.html
+%%PORTDOCS%%share/doc/mup/uguide/cres.html
+%%PORTDOCS%%share/doc/mup/uguide/crossbar.html
+%%PORTDOCS%%share/doc/mup/uguide/debug.html
+%%PORTDOCS%%share/doc/mup/uguide/fontfile.html
+%%PORTDOCS%%share/doc/mup/uguide/gensyn.html
+%%PORTDOCS%%share/doc/mup/uguide/gracerel.html
+%%PORTDOCS%%share/doc/mup/uguide/headfoot.html
+%%PORTDOCS%%share/doc/mup/uguide/heeltoe.html
+%%PORTDOCS%%share/doc/mup/uguide/ichdattr.html
+%%PORTDOCS%%share/doc/mup/uguide/include.html
+%%PORTDOCS%%share/doc/mup/uguide/intro.html
+%%PORTDOCS%%share/doc/mup/uguide/invisbar.html
+%%PORTDOCS%%share/doc/mup/uguide/linecurv.html
+%%PORTDOCS%%share/doc/mup/uguide/lyrics.html
+%%PORTDOCS%%share/doc/mup/uguide/macros.html
+%%PORTDOCS%%share/doc/mup/uguide/manual.html
+%%PORTDOCS%%share/doc/mup/uguide/midi.html
+%%PORTDOCS%%share/doc/mup/uguide/mixtsig.html
+%%PORTDOCS%%share/doc/mup/uguide/mugex10.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex11.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex12.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex13.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex14.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex15.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex16.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex17.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex18.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex19.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex2.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex20.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex21.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex22.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex23.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex24.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex25.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex26.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex27.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex28.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex29.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex3.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex30.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex31.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex32.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex33.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex34.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex35.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex36.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex37.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex38.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex39.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex4.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex40.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex41.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex42.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex43.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex44.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex45.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex46.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex47.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex48.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex49.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex5.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex50.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex51.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex52.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex53.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex54.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex55.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex56.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex57.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex58.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex59.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex6.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex60.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex61.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex62.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex63.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex64.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex65.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex66.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex67.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex68.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex69.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex7.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex70.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex71.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex72.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex73.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex74.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex75.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex76.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex77.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex78.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex79.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex8.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex80.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex81.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex82.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex83.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex84.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex85.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex86.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex87.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex88.gif
+%%PORTDOCS%%share/doc/mup/uguide/mugex9.gif
+%%PORTDOCS%%share/doc/mup/uguide/multirst.html
+%%PORTDOCS%%share/doc/mup/uguide/multsong.html
+%%PORTDOCS%%share/doc/mup/uguide/muschar.gif
+%%PORTDOCS%%share/doc/mup/uguide/music.html
+%%PORTDOCS%%share/doc/mup/uguide/muspaper.html
+%%PORTDOCS%%share/doc/mup/uguide/mussym.html
+%%PORTDOCS%%share/doc/mup/uguide/newscore.html
+%%PORTDOCS%%share/doc/mup/uguide/noteattr.html
+%%PORTDOCS%%share/doc/mup/uguide/octave.html
+%%PORTDOCS%%share/doc/mup/uguide/oddeven.html
+%%PORTDOCS%%share/doc/mup/uguide/param.html
+%%PORTDOCS%%share/doc/mup/uguide/pedal.html
+%%PORTDOCS%%share/doc/mup/uguide/phrase.html
+%%PORTDOCS%%share/doc/mup/uguide/pianored.html
+%%PORTDOCS%%share/doc/mup/uguide/prnttext.html
+%%PORTDOCS%%share/doc/mup/uguide/pstools.html
+%%PORTDOCS%%share/doc/mup/uguide/register.html
+%%PORTDOCS%%share/doc/mup/uguide/roll.html
+%%PORTDOCS%%share/doc/mup/uguide/slashmrk.html
+%%PORTDOCS%%share/doc/mup/uguide/stuff.html
+%%PORTDOCS%%share/doc/mup/uguide/tabstaff.html
+%%PORTDOCS%%share/doc/mup/uguide/tags.html
+%%PORTDOCS%%share/doc/mup/uguide/tempochg.html
+%%PORTDOCS%%share/doc/mup/uguide/textmark.html
+%%PORTDOCS%%share/doc/mup/uguide/textstr.html
+%%PORTDOCS%%share/doc/mup/uguide/trnspose.html
+%%PORTDOCS%%share/doc/mup/uguide/tuplets.html
+%%PORTDOCS%%share/doc/mup/uguide/uguide.html
+%%PORTDOCS%%share/doc/mup/uguide/utilpgms.html
+%%PORTDOCS%%share/doc/mup/uguide/verses.html
+%%PORTDOCS%%share/doc/mup/uguide.ps
+%%PORTDOCS%%@dirrm share/doc/mup/uguide
+%%PORTDOCS%%@dirrm share/doc/mup
+