aboutsummaryrefslogtreecommitdiffstats
path: root/print/mup/Makefile
blob: ff12adfa2927656d00fb76f31191dd4caf319d41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    mup
# Date Created:             Oct 4, 2002
# Whom:                 Daniel O'Connor <darius@dons.net.au>
#
# $FreeBSD$
#

PORTNAME=   mup
PORTVERSION=    4.6
PORTREVISION=   0
CATEGORIES= print audio
MASTER_SITES=   ftp://ftp.arkkra.com/pub/unix/
DISTFILES=  mup46src.tar.gz mup46doc.tar.gz

MAINTAINER= darius@dons.net.au
COMMENT=    A shareware program for typesetting music

USE_XLIB=   yes
MAN1=       mup.1 mkmupfnt.1 mupdisp.1 mupprnt.1

post-extract:
    ${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
    ${CP} ${FILESDIR}/Makefile.mup ${WRKSRC}/mup/Makefile
    ${CP} ${FILESDIR}/Makefile.fnt ${WRKSRC}/mkmupfnt/Makefile
    ${CP} ${FILESDIR}/Makefile.disp ${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
    ${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
.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}
.endif

.include <bsd.port.mk>