aboutsummaryrefslogtreecommitdiffstats
path: root/audio/uade/Makefile
blob: f870e206812a3d15b6626f016e8c1b39cfc90cc8 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# New ports collection makefile for:    xmms-uade
# Date created:             12 Oct 2002
# Whom:                 Martin Blapp <mbr@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   xmms-uade
PORTVERSION=    2.03
CATEGORIES= audio
MASTER_SITES=   http://zakalwe.fi/uade/uade2/ \
        http://critical.ch/distfiles/
DISTNAME=   uade-${PORTVERSION}

MAINTAINER= mbr@FreeBSD.org
COMMENT=    Unix Amiga Delitracker Emulator with XMMS Input plugin

RUN_DEPENDS=    xmms:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS=    xmms.4:${PORTSDIR}/multimedia/xmms \
        ao.3:${PORTSDIR}/audio/libao
BUILD_DEPENDS=  lha:${PORTSDIR}/archivers/lha

BROKEN=     Incomplete pkg-plist

HAS_CONFIGURE=  yes
USE_X_PREFIX=   yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk12
USE_AUTOTOOLS=  libtool:15

DOCSDIR=    ${PREFIX}/share/doc/uade
CONFIGURE_ARGS= --prefix=${X11BASE}/lib/xmms \
        --mandir=${MANPREFIX}/man/man1 \
        --without-audacious --no-debug

CONFIGURE_ENV=  SYSCFLAGS='${CFLAGS}'

WRKSRC=     ${WRKDIR}/uade-${PORTVERSION}

MAN1=       uade123.1
PORTDOCS=   UAE-CREDITS UAE-README audio_emulation.txt design.tex \
        layers.eps layers.xfig \
        play_loop_state_diagram.dia play_loop_state_diagram.eps \
        play_loop_state_diagram.txt

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     Does not compile on FreeBSD 4.x
.endif

post-install:
        @${RM} -rf ${PREFIX}/share/uade2/players/S

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>