ports/67283: New port: audio/pmw (High quality music typesetting program)
Brian Candler
B.Candler at pobox.com
Fri May 28 10:50:59 UTC 2004
>Number: 67283
>Category: ports
>Synopsis: New port: audio/pmw (High quality music typesetting program)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri May 28 03:50:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Brian Candler
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
>Description:
I have created a new port for audio/pmw.
# cat pmw/pkg-descr
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/
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# pmw
# pmw/Makefile
# pmw/pkg-plist
# pmw/pkg-descr
# pmw/distinfo
# pmw/pkg-message
#
echo c - pmw
mkdir -p pmw > /dev/null 2>&1
echo x - pmw/Makefile
sed 's/^X//' >pmw/Makefile << 'END-of-pmw/Makefile'
X# New ports collection makefile for: pmw
X# Date Created: 28 May 2004
X# Whom: Brian Candler <B.Candler at pobox.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= pmw
XPORTVERSION= 4.05
XCATEGORIES= audio
XMASTER_SITES= http://www.quercite.com/
X
XMAINTAINER= ports at FreeBSD.org
XCOMMENT= High quality music typesetting program
X
XGNU_CONFIGURE= yes
XALL_TARGET= build
XMAN1= pmw.1
X
X.if !defined(NOPORTDOCS)
XPORTDOCS= ChangeLog spec.pdf
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X.for i in ${PORTDOCS}
X ${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}/
X.endfor
X.endif
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-pmw/Makefile
echo x - pmw/pkg-plist
sed 's/^X//' >pmw/pkg-plist << 'END-of-pmw/pkg-plist'
Xbin/pmw
Xshare/pmw/MIDIperc
Xshare/pmw/MIDIvoices
Xshare/pmw/PSheader
Xshare/pmw/fontmetrics/AvantGarde-Book.afm
Xshare/pmw/fontmetrics/AvantGarde-BookOblique.afm
Xshare/pmw/fontmetrics/AvantGarde-Demi.afm
Xshare/pmw/fontmetrics/AvantGarde-DemiOblique.afm
Xshare/pmw/fontmetrics/Bookman-Demi.afm
Xshare/pmw/fontmetrics/Bookman-DemiItalic.afm
Xshare/pmw/fontmetrics/Bookman-Light.afm
Xshare/pmw/fontmetrics/Bookman-LightItalic.afm
Xshare/pmw/fontmetrics/Courier-Bold.afm
Xshare/pmw/fontmetrics/Courier-BoldOblique.afm
Xshare/pmw/fontmetrics/Courier-Oblique.afm
Xshare/pmw/fontmetrics/Courier.afm
Xshare/pmw/fontmetrics/Helvetica-Bold.afm
Xshare/pmw/fontmetrics/Helvetica-BoldOblique.afm
Xshare/pmw/fontmetrics/Helvetica-Oblique.afm
Xshare/pmw/fontmetrics/Helvetica.afm
Xshare/pmw/fontmetrics/NewCenturySchlbk-Bold.afm
Xshare/pmw/fontmetrics/NewCenturySchlbk-BoldItalic.afm
Xshare/pmw/fontmetrics/NewCenturySchlbk-Italic.afm
Xshare/pmw/fontmetrics/NewCenturySchlbk-Roman.afm
Xshare/pmw/fontmetrics/PMW-Alpha.afm
Xshare/pmw/fontmetrics/PMW-Music.afm
Xshare/pmw/fontmetrics/Palatino-Bold.afm
Xshare/pmw/fontmetrics/Palatino-BoldItalic.afm
Xshare/pmw/fontmetrics/Palatino-Italic.afm
Xshare/pmw/fontmetrics/Palatino-Roman.afm
Xshare/pmw/fontmetrics/Symbol.afm
Xshare/pmw/fontmetrics/Times-Bold.afm
Xshare/pmw/fontmetrics/Times-BoldItalic.afm
Xshare/pmw/fontmetrics/Times-Italic.afm
Xshare/pmw/fontmetrics/Times-Roman.afm
Xshare/pmw/fontmetrics/Utopia-Bold.afm
Xshare/pmw/fontmetrics/Utopia-BoldItalic.afm
Xshare/pmw/fontmetrics/Utopia-Italic.afm
Xshare/pmw/fontmetrics/Utopia-Regular.afm
Xshare/pmw/fontmetrics/ZapfChancery-MediumItalic.afm
Xshare/pmw/fontmetrics/ZapfDingbats.afm
Xshare/pmw/psfonts/PMW-Music.pfa
Xshare/pmw/psfonts/PMW-Alpha
X at dirrm share/pmw/fontmetrics
X at dirrm share/pmw/psfonts
X at dirrm share/pmw
END-of-pmw/pkg-plist
echo x - pmw/pkg-descr
sed 's/^X//' >pmw/pkg-descr << 'END-of-pmw/pkg-descr'
XPhilip's Music Writer (PMW) is a computer program for high quality
Xmusic typesetting. Originally written for Acorn RISC OS computers,
Xthere is now a version that runs on Unix and Unix-like systems.
X
XPMW operates by reading an input file containing an encoded
Xdescription of the music; such a file can be constructed using any
Xtext editor or word processor. The music encoding is very
Xstraightforward and compact, and quick to enter.
X
XPMW comes with a PostScript outline font that contains all the musical
Xshapes (notes, rests, accidentals, bar lines, clefs, etc.) that it
Xrequires. There is a man page for the command line options, and a
X200-page manual that is distributed as a PDF file.
X
XWWW: http://www.quercite.com/
END-of-pmw/pkg-descr
echo x - pmw/distinfo
sed 's/^X//' >pmw/distinfo << 'END-of-pmw/distinfo'
XMD5 (pmw-4.05.tar.gz) = 39887de89e856b88dd06d600f42d0251
XSIZE (pmw-4.05.tar.gz) = 1098749
END-of-pmw/distinfo
echo x - pmw/pkg-message
sed 's/^X//' >pmw/pkg-message << 'END-of-pmw/pkg-message'
X---------------------------------------------------------------------------
X
XIf you wish to use ghostview to view or print the Postscript output
Xfrom PMW, then you need to create symlinks for the font files:
X
X ln -s /usr/local/share/pmw/psfonts/* /usr/local/share/ghostscript/fonts/
X
Xand also add the following line to
X/usr/local/share/ghostscript/x.xx/lib/Fontmap.GS
X
X /PMW-Music (PMW-Music.pfa) ;
X
X---------------------------------------------------------------------------
END-of-pmw/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list