summaryrefslogtreecommitdiffstats
path: root/audio/osalp/Makefile
blob: 26f1e9b0c854c01cf6b97e4b253de83b9f900d8d (plain)
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
# ex:ts=8
# Ports collection makefile for:	osalp
# Date created:			Jun 4, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	osalp
PORTVERSION=	0.7.3
PORTREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Open Source Audio Library Project

BUILD_DEPENDS=	lame:${PORTSDIR}/audio/lame \
		mpg123:${PORTSDIR}/audio/mpg123
LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_GETOPT_LONG=yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CFLAGS+=	-fPIC -DPIC
CPPFLAGS=	-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS=	--enable-all

INSTALLS_SHLIB=	yes

PLIST_SUB=	VERSION=${PORTVERSION}

CONFLICTS=	libaudiofile-*

.include <bsd.port.mk>
OpenPOWER on IntegriCloud