aboutsummaryrefslogtreecommitdiffstats
path: root/audio/osalp/Makefile
blob: 221e959511f8bbfce07cd66b4f1b798cecdd0b59 (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
# 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=${MACHINE_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>