aboutsummaryrefslogtreecommitdiffstats
path: root/audio/muse/Makefile
blob: 9c8c4d4a07aaf251497ede141729f1f57def2ecf (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
# ex:ts=8
# Ports collection makefile for:    muse
# Date created:         Jun 7, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   MuSE
PORTVERSION=    0.9
CATEGORIES= audio
MASTER_SITES=   ftp://ftp.dyne.org/muse/releases/ \
        http://www.ljudmila.org/~jaromil/muse/releases/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Multiple Streaming Engine

LIB_DEPENDS=    mp3lame.0:${PORTSDIR}/audio/lame \
        sndfile.1:${PORTSDIR}/audio/libsndfile \
        vorbis.3:${PORTSDIR}/audio/libvorbis

USE_GETOPT_LONG=    yes
USE_REINPLACE=  yes
USE_GNOME=  gnometarget
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug --disable-lubrify

MAN1=       muse.1
PORTDOCS=   ${DOCSFILES:S,doc/,,g}
PLIST_FILES=    bin/muse

CPPFLAGS=   -I${LOCALBASE}/include -DHAVE_DECL_GETOPT -DHAVE_SYS_UIO_H \
        ${PTHREAD_CFLAGS}
LDFLAGS=    -L${LOCALBASE}/lib ${PTHREAD_LIBS}

DOCFILES=   AUTHORS ChangeLog KNOWN-BUGS NEWS README TODO doc/USAGE

.if defined(WITHOUT_X11)
PKGNAMESUFFIX=  -nox11
CONFIGURE_ARGS+=    --without-x --with-rubik
.else
USE_GNOME+= gtk20
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/muse ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/doc/muse.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${DOCFILES}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>