summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-29 12:11:59 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-29 12:11:59 +0000
commita09100bfde55399622b5c11d7414cefc35abbf62 (patch)
tree7def2b6308cb5497846f2c3fe8b06165dd29b555 /print
parentRemove an extraneous dependency towards popt. (diff)
Add pmw, a computer program for high quality music typesetting.
PMW operates by reading an input file containing an encoded description of the music; such a file can be constructed using any text editor or word processor. The music encoding is very straightforward and compact, and quick to enter. PR: ports/67283 Submitted by: Brian Candler <B.Candler@pobox.com>
Notes
Notes: svn path=/head/; revision=110268
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/pmw/Makefile37
-rw-r--r--print/pmw/distinfo2
-rw-r--r--print/pmw/pkg-descr15
-rw-r--r--print/pmw/pkg-message13
-rw-r--r--print/pmw/pkg-plist46
6 files changed, 114 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 855a396910e0..58bce5b38f2a 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -183,6 +183,7 @@
SUBDIR += pkfonts360
SUBDIR += pkfonts400
SUBDIR += pkfonts600
+ SUBDIR += pmw
SUBDIR += pnm2ppa
SUBDIR += poster
SUBDIR += preview-latex
diff --git a/print/pmw/Makefile b/print/pmw/Makefile
new file mode 100644
index 000000000000..4588ce0fef92
--- /dev/null
+++ b/print/pmw/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: pmw
+# Date Created: 28 May 2004
+# Whom: Brian Candler <B.Candler@pobox.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pmw
+PORTVERSION= 4.05
+CATEGORIES= print audio
+MASTER_SITES= http://www.quercite.com/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= High quality music typesetting program
+
+ALL_TARGET= build
+GNU_CONFIGURE= yes
+MAN1= pmw.1
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= ChangeLog spec.pdf
+.endif
+
+post-patch:
+ @${CAT} ${MASTERDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g' > ${PKGMESSAGE}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}/
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/print/pmw/distinfo b/print/pmw/distinfo
new file mode 100644
index 000000000000..f08040651fe5
--- /dev/null
+++ b/print/pmw/distinfo
@@ -0,0 +1,2 @@
+MD5 (pmw-4.05.tar.gz) = 39887de89e856b88dd06d600f42d0251
+SIZE (pmw-4.05.tar.gz) = 1098749
diff --git a/print/pmw/pkg-descr b/print/pmw/pkg-descr
new file mode 100644
index 000000000000..2777f8563417
--- /dev/null
+++ b/print/pmw/pkg-descr
@@ -0,0 +1,15 @@
+Philip's Music Writer (PMW) is a computer program for high quality
+music typesetting. Originally written for Acorn RISC OS computers,
+there is now a version that runs on Unix and Unix-like systems.
+
+PMW operates by reading an input file containing an encoded
+description of the music; such a file can be constructed using any
+text editor or word processor. The music encoding is very
+straightforward and compact, and quick to enter.
+
+PMW comes with a PostScript outline font that contains all the musical
+shapes (notes, rests, accidentals, bar lines, clefs, etc.) that it
+requires. There is a man page for the command line options, and a
+200-page manual that is distributed as a PDF file.
+
+WWW: http://www.quercite.com/pmw.html
diff --git a/print/pmw/pkg-message b/print/pmw/pkg-message
new file mode 100644
index 000000000000..32423e3862e7
--- /dev/null
+++ b/print/pmw/pkg-message
@@ -0,0 +1,13 @@
+---------------------------------------------------------------------------
+
+If you wish to use ghostview to view or print the Postscript output
+from PMW, then you need to create symlinks for the font files:
+
+ ln -s %%PREFIX%%/share/pmw/psfonts/* %%LOCALBASE%%/share/ghostscript/fonts/
+
+and also add the following line to
+%%LOCALBASE%%/share/ghostscript/x.xx/lib/Fontmap.GS
+
+ /PMW-Music (PMW-Music.pfa) ;
+
+---------------------------------------------------------------------------
diff --git a/print/pmw/pkg-plist b/print/pmw/pkg-plist
new file mode 100644
index 000000000000..bdce1a5518d3
--- /dev/null
+++ b/print/pmw/pkg-plist
@@ -0,0 +1,46 @@
+bin/pmw
+share/pmw/MIDIperc
+share/pmw/MIDIvoices
+share/pmw/PSheader
+share/pmw/fontmetrics/AvantGarde-Book.afm
+share/pmw/fontmetrics/AvantGarde-BookOblique.afm
+share/pmw/fontmetrics/AvantGarde-Demi.afm
+share/pmw/fontmetrics/AvantGarde-DemiOblique.afm
+share/pmw/fontmetrics/Bookman-Demi.afm
+share/pmw/fontmetrics/Bookman-DemiItalic.afm
+share/pmw/fontmetrics/Bookman-Light.afm
+share/pmw/fontmetrics/Bookman-LightItalic.afm
+share/pmw/fontmetrics/Courier-Bold.afm
+share/pmw/fontmetrics/Courier-BoldOblique.afm
+share/pmw/fontmetrics/Courier-Oblique.afm
+share/pmw/fontmetrics/Courier.afm
+share/pmw/fontmetrics/Helvetica-Bold.afm
+share/pmw/fontmetrics/Helvetica-BoldOblique.afm
+share/pmw/fontmetrics/Helvetica-Oblique.afm
+share/pmw/fontmetrics/Helvetica.afm
+share/pmw/fontmetrics/NewCenturySchlbk-Bold.afm
+share/pmw/fontmetrics/NewCenturySchlbk-BoldItalic.afm
+share/pmw/fontmetrics/NewCenturySchlbk-Italic.afm
+share/pmw/fontmetrics/NewCenturySchlbk-Roman.afm
+share/pmw/fontmetrics/PMW-Alpha.afm
+share/pmw/fontmetrics/PMW-Music.afm
+share/pmw/fontmetrics/Palatino-Bold.afm
+share/pmw/fontmetrics/Palatino-BoldItalic.afm
+share/pmw/fontmetrics/Palatino-Italic.afm
+share/pmw/fontmetrics/Palatino-Roman.afm
+share/pmw/fontmetrics/Symbol.afm
+share/pmw/fontmetrics/Times-Bold.afm
+share/pmw/fontmetrics/Times-BoldItalic.afm
+share/pmw/fontmetrics/Times-Italic.afm
+share/pmw/fontmetrics/Times-Roman.afm
+share/pmw/fontmetrics/Utopia-Bold.afm
+share/pmw/fontmetrics/Utopia-BoldItalic.afm
+share/pmw/fontmetrics/Utopia-Italic.afm
+share/pmw/fontmetrics/Utopia-Regular.afm
+share/pmw/fontmetrics/ZapfChancery-MediumItalic.afm
+share/pmw/fontmetrics/ZapfDingbats.afm
+share/pmw/psfonts/PMW-Music.pfa
+share/pmw/psfonts/PMW-Alpha
+@dirrm share/pmw/fontmetrics
+@dirrm share/pmw/psfonts
+@dirrm share/pmw