summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2014-11-29 15:53:10 +0000
committerprlw1 <prlw1@pkgsrc.org>2014-11-29 15:53:10 +0000
commitc9a1bf2494811dcf970829140ec1804b5a576c19 (patch)
tree6775a004a00d2d78ea62aa473f08cd487ae0489e /print
parent40cc8e09efde78113a218598d9fd9000eb64c2dd (diff)
downloadpkgsrc-c9a1bf2494811dcf970829140ec1804b5a576c19.tar.gz
Add pmw 4.28
Philip (Hazel)'s Music Writer is a high quality music typesetting program.
Diffstat (limited to 'print')
-rw-r--r--print/Makefile3
-rw-r--r--print/pmw/DESCR3
-rw-r--r--print/pmw/MESSAGE28
-rw-r--r--print/pmw/Makefile27
-rw-r--r--print/pmw/PLIST48
-rw-r--r--print/pmw/distinfo6
-rw-r--r--print/pmw/patches/patch-Makefile.in14
7 files changed, 128 insertions, 1 deletions
diff --git a/print/Makefile b/print/Makefile
index 585c4417652..34d72ffef56 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.593 2014/10/01 20:01:41 joerg Exp $
+# $NetBSD: Makefile,v 1.594 2014/11/29 15:53:10 prlw1 Exp $
#
COMMENT= Desktop publishing
@@ -110,6 +110,7 @@ SUBDIR+= pdfmod
SUBDIR+= pdfshuffler
SUBDIR+= pdvipsk
SUBDIR+= php-pdflib
+SUBDIR+= pmw
SUBDIR+= pnm2ppa
SUBDIR+= podofo
SUBDIR+= poppler
diff --git a/print/pmw/DESCR b/print/pmw/DESCR
new file mode 100644
index 00000000000..3337988b5fc
--- /dev/null
+++ b/print/pmw/DESCR
@@ -0,0 +1,3 @@
+Philip's Music Writer (PMW) is a computer program for high quality
+music typesetting, originally written for Acorn RISC OS computers
+where it was called PMS.
diff --git a/print/pmw/MESSAGE b/print/pmw/MESSAGE
new file mode 100644
index 00000000000..5cc5f0ec396
--- /dev/null
+++ b/print/pmw/MESSAGE
@@ -0,0 +1,28 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2014/11/29 15:53:11 prlw1 Exp $
+
+The pmw command has been installed in ${BINDIR}. The PostScript header
+file, the PostScript music fonts, and the fontmetrics files have been
+installed in ${DATADIR}. The man page has been installed in
+${MANDIR}.
+
+If you use the -includefont option with the pmw command, the output file
+includes the PMW-Music font (and the PMW-Alpha font, if it was referenced),
+and you should be able to view the output using Ghostscript without any
+special configuration.
+
+If you want to be able to use GhostScript to view music without having
+to include the music fonts in every output file, you have to make the
+fonts available to Ghostscript. To do this, run the command
+
+ ${GS} -h
+
+and find a suitable font directory in the 'Search path' data. Then
+
+ ln -s ${DATADIR}/psfonts/PMW-Alpha /that/dir/PMW-Alpha
+ ln -s ${DATADIR}/psfonts/PMW-Music.pfa /that/dir/PMW-Music.pfa
+
+If that does not work, you may have an older version of Ghostscript.
+Refer to the PMW manual ${SPECPDF} for further
+information.
+===========================================================================
diff --git a/print/pmw/Makefile b/print/pmw/Makefile
new file mode 100644
index 00000000000..7c46c0172cf
--- /dev/null
+++ b/print/pmw/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2014/11/29 15:53:11 prlw1 Exp $
+
+DISTNAME= pmw-4.28
+CATEGORIES= print
+MASTER_SITES= http://www.quercite.com/
+
+MAINTAINER= prlw1@cam.ac.uk
+HOMEPAGE= http://www.quercite.com/pmw.html
+COMMENT= High quality music typesetting program
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+
+BUILD_TARGET= build
+
+SPECPDF= ${PREFIX}/share/doc/pmw/spec.pdf
+MESSAGE_SUBST+= SPECPDF=${SPECPDF}
+MESSAGE_SUBST+= GS=${PREFIX}/bin/gs
+MESSAGE_SUBST+= BINDIR=${PREFIX}/bin
+MESSAGE_SUBST+= DATADIR=${PREFIX}/share/pmw
+MESSAGE_SUBST+= MANDIR=${PREFIX}/${PKGMANDIR}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/doc/spec.pdf ${DESTDIR}${SPECPDF}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/pmw/PLIST b/print/pmw/PLIST
new file mode 100644
index 00000000000..038e5d72029
--- /dev/null
+++ b/print/pmw/PLIST
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1 2014/11/29 15:53:11 prlw1 Exp $
+bin/pmw
+man/man1/pmw.1
+share/doc/pmw/spec.pdf
+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/LICENCE
+share/pmw/fontmetrics/MustRead.html
+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-Alpha
+share/pmw/psfonts/PMW-Music.pfa
diff --git a/print/pmw/distinfo b/print/pmw/distinfo
new file mode 100644
index 00000000000..0dd13a51c26
--- /dev/null
+++ b/print/pmw/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2014/11/29 15:53:11 prlw1 Exp $
+
+SHA1 (pmw-4.28.tar.gz) = 30647997034017a679b743d2f7bf41f3f9686f64
+RMD160 (pmw-4.28.tar.gz) = e6386714aa1505a4d94ce3660baaaf0eea072f05
+Size (pmw-4.28.tar.gz) = 2081185 bytes
+SHA1 (patch-Makefile.in) = e0b1d7d7cf058b17b579093799512140039d4de4
diff --git a/print/pmw/patches/patch-Makefile.in b/print/pmw/patches/patch-Makefile.in
new file mode 100644
index 00000000000..729f0dc3e7b
--- /dev/null
+++ b/print/pmw/patches/patch-Makefile.in
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile.in,v 1.1 2014/11/29 15:53:11 prlw1 Exp $
+
+Move message to MESSAGE.
+
+--- Makefile.in.orig 2013-03-12 12:22:19.000000000 +0000
++++ Makefile.in
+@@ -65,7 +65,6 @@ install: build
+ $(INSTALL_DATA) psfonts/PMW-Alpha $(DATADIR)/psfonts
+ $(INSTALL_DATA) fontmetrics/* $(DATADIR)/fontmetrics
+ $(INSTALL_DATA) doc/pmw.1 $(MANDIR)/man1
+- ./post-install "$(BINDIR)" "$(DATADIR)" "$(MANDIR)"
+
+ uninstall:; rm -rf \
+ $(BINDIR)/pmw \