aboutsummaryrefslogtreecommitdiffstats
path: root/audio/freeamp/Makefile
blob: bf0a28946a52efe48681d11a4df371225bb45ba1 (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
# New ports collection makefile for:    freeamp
# Date Created:             26 Oct 2000
# Whom:                 Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#

PORTNAME=   freeamp
PORTVERSION=    2.1.rc5
PORTREVISION=   1
CATEGORIES= audio gnome
MASTER_SITES=   http://www.freeamp.org/download/src/

MAINTAINER= ports@freebsd.org

BROKEN=     "incompatibility with release versions of musicbrainz API."

BUILD_DEPENDS=  nasm:${PORTSDIR}/devel/nasm
LIB_DEPENDS=    musicbrainz.1:${PORTSDIR}/audio/musicbrainz \
        id3:${PORTSDIR}/audio/id3lib \
        ttf.4:${PORTSDIR}/print/freetype

WRKSRC=     ${WRKDIR}/${PORTNAME}
USE_BZIP2=  yes
USE_XLIB=   yes
USE_GNOMECTRL=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --prefix=${PREFIX}

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
CONFIGURE_ENV=  CFLAGS="${CFLAGS} -D_M_IX86"
.elif ${ARCH} == "alpha"
CONFIGURE_ENV=  CFLAGS="${CFLAGS} -D_M_ALPHA"
.endif

.include <bsd.port.post.mk>