aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmcd/Makefile
blob: cad9b7275fbd22d6eb43fb31f287463dbeaf5d15 (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
# New ports collection makefile for:    xmcd
# Version required: 2.4
# Date created:     16 Februar 1995
# Whom:         Gennady Sorokopud <gena@NetVision.net.il>
#
# $Id: Makefile,v 1.20 1999/06/27 20:20:13 steve Exp $
#

DISTNAME=   xmcd-2.5
CATEGORIES= audio
MASTER_SITES=   http://metalab.unc.edu/tkan/download/xmcd/src/

MAINTAINER= eischen@vigrid.com

REQUIRES_MOTIF= yes
USE_IMAKE=  yes

MAN1=       cda.1 cddbcmd.1 dp2xmcd.1 wm2xmcd.1 xmcd.1
MANCOMPRESSED=  no

post-extract:
    @${CHMOD} -R u+w ${WRKSRC}

pre-patch:
    @${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in

post-patch:
    @${SED} -e "s;@PREFIX@;${PREFIX};g" ${WRKSRC}/xmcd_d/XMcd.ad.in \
        > ${WRKSRC}/xmcd_d/XMcd.ad

post-install:
    @${CAT} ${PKGDIR}/MESSAGE
    @${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${PREFIX}/lib/X11/app-defaults/XMcd

.include <bsd.port.mk>