aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2005-10-23 05:40:33 +0800
committerehaupt <ehaupt@FreeBSD.org>2005-10-23 05:40:33 +0800
commit89b028a6131ebc6052d22c4e6a8c14cb8eb72cff (patch)
treecfd02bc668eaa72128b2867f5d6bfc1bd9c701ab /print
parent0867621a6f1ce6be50bce5f6f3a49fdd8556921e (diff)
downloadfreebsd-ports-gnome-89b028a6131ebc6052d22c4e6a8c14cb8eb72cff.tar.gz
freebsd-ports-gnome-89b028a6131ebc6052d22c4e6a8c14cb8eb72cff.tar.zst
freebsd-ports-gnome-89b028a6131ebc6052d22c4e6a8c14cb8eb72cff.zip
- Respect X11BASE
- Install PORTDOCS with proper mode by using INSTALL_DATA - bump PORTREVISION - nuke pkg-plist - cleanup PR: 87827 Submitted by: Daniel J. O'Connor <darius@dons.net.au> (maintainer)
Diffstat (limited to 'print')
-rw-r--r--print/mup/Makefile22
-rw-r--r--print/mup/files/Makefile.disp5
-rw-r--r--print/mup/pkg-plist177
3 files changed, 18 insertions, 186 deletions
diff --git a/print/mup/Makefile b/print/mup/Makefile
index bcf2c6e737fc..e98c83b54d7e 100644
--- a/print/mup/Makefile
+++ b/print/mup/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mup
PORTVERSION= 5.1
+PORTREVISION= 1
CATEGORIES= print audio
MASTER_SITES= ftp://ftp.arkkra.com/pub/unix/
DISTFILES= mup51src.tar.gz mup51doc.tar.gz
@@ -15,7 +16,12 @@ MAINTAINER= darius@dons.net.au
COMMENT= A shareware program for typesetting music
USE_XLIB= yes
+
MAN1= mup.1 mkmupfnt.1 mupdisp.1 mupprnt.1
+PLIST_FILES= bin/mkmupfnt bin/mup bin/mupdisp bin/mupprnt
+MOREDOCS= README0 docs/overview.txt docs/register.txt docs/README1 \
+ docs/mupfeat.txt docs/faq.txt docs/license.txt docs/uguide.ps
+PORTDOCS= *
post-extract:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
@@ -28,14 +34,16 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mkmupfnt/mkmupfnt ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mupdisp/mupdisp ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mupprnt ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/docs/mup.1 ${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/docs/mkmupfnt.1 ${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/docs/mupdisp.1 ${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/docs/mupprnt.1 ${PREFIX}/man/man1
+.for f in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/docs/${f} ${PREFIX}/man/man1
+.endfor
+
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${TAR} -cf - -C ${WRKSRC}/docs/ overview.txt register.txt README1 mupfeat.txt faq.txt license.txt uguide uguide.ps | ${TAR} -C ${DOCSDIR} -xf -
- ${INSTALL_DATA} ${WRKSRC}/README0 ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}/uguide
+ ${FIND} ${WRKSRC}/docs/uguide -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/uguide \;
+.for f in ${MOREDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/print/mup/files/Makefile.disp b/print/mup/files/Makefile.disp
index c104bde1db6b..cfc4a0f76b9f 100644
--- a/print/mup/files/Makefile.disp
+++ b/print/mup/files/Makefile.disp
@@ -1,5 +1,6 @@
PROG= mupdisp
NOMAN=
+NO_MAN=
SRCS= do_cmd.c \
genfile.c \
@@ -7,8 +8,8 @@ SRCS= do_cmd.c \
mupdisp.c \
xterm.c
-CFLAGS+=-I/usr/X11R6/include
-LDADD+= -L/usr/X11R6/lib -lX11
+CFLAGS+=-I${X11BASE}/include
+LDADD+= -L${X11BASE}/lib -lX11
.include <bsd.prog.mk>
diff --git a/print/mup/pkg-plist b/print/mup/pkg-plist
deleted file mode 100644
index b33ab350dcb7..000000000000
--- a/print/mup/pkg-plist
+++ /dev/null
@@ -1,177 +0,0 @@
-bin/mkmupfnt
-bin/mup
-bin/mupdisp
-bin/mupprnt
-%%PORTDOCS%%%%DOCSDIR%%/README0
-%%PORTDOCS%%%%DOCSDIR%%/README1
-%%PORTDOCS%%%%DOCSDIR%%/faq.txt
-%%PORTDOCS%%%%DOCSDIR%%/license.txt
-%%PORTDOCS%%%%DOCSDIR%%/mupfeat.txt
-%%PORTDOCS%%%%DOCSDIR%%/overview.txt
-%%PORTDOCS%%%%DOCSDIR%%/register.txt
-%%PORTDOCS%%%%DOCSDIR%%/uguide.ps
-%%PORTDOCS%%%%DOCSDIR%%/uguide/adjust.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/altinp.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/bars.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/basics.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/brackmac.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/cadenza.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/chant.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/chordinp.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/chrdattr.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/cmdargs.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/contexts.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/cres.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/crossbar.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/crossst.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/debug.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/fontfile.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/gensyn.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/gracerel.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/headfoot.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/heeltoe.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/ichdattr.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/include.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/index.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/intro.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/invisbar.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/linecurv.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/lyrics.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/macros.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mantup.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/manual.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/midi.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/midmeas.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mixtsig.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex10.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex100.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex11.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex12.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex13.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex14.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex15.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex16.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex17.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex18.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex19.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex2.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex20.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex21.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex22.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex23.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex24.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex25.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex26.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex27.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex28.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex29.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex3.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex30.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex31.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex32.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex33.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex34.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex35.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex36.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex37.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex38.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex39.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex4.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex40.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex41.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex42.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex43.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex44.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex45.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex46.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex47.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex48.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex49.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex5.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex50.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex51.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex52.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex53.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex54.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex55.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex56.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex57.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex58.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex59.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex6.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex60.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex61.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex62.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex63.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex64.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex65.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex66.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex67.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex68.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex69.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex7.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex70.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex71.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex72.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex73.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex74.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex75.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex76.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex77.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex78.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex79.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex8.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex80.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex81.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex82.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex83.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex84.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex85.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex86.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex87.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex88.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex89.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex9.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex90.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex91.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex92.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex93.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex94.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex95.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex96.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex97.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex98.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mugex99.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/multirst.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/multsong.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/muschar.gif
-%%PORTDOCS%%%%DOCSDIR%%/uguide/music.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/muspaper.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/mussym.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/newscore.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/noteattr.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/octave.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/oddeven.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/param.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/pedal.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/phrase.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/pianored.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/prnttext.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/pstools.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/register.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/roll.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/shaped.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/sharehd.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/slashmrk.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/stuff.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/tabstaff.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/tags.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/tempochg.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/textmark.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/textstr.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/trnspose.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/tuplets.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/utilpgms.html
-%%PORTDOCS%%%%DOCSDIR%%/uguide/verses.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/uguide
-%%PORTDOCS%%@dirrm %%DOCSDIR%%