aboutsummaryrefslogtreecommitdiffstats
path: root/audio/blop/Makefile
blob: aabe48d33302fbe25fbe3abd5cc0b114dc4a182d (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
# New ports collection Makefile for:    blop
# Date created:         15 May 2002
# Whom:             Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   blop
PORTVERSION=    0.2.6
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org

BUILD_DEPENDS=  ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS=    gnugetopt:${PORTSDIR}/devel/libgnugetopt
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lgnugetopt"
.endif

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
        --with-ladspa-prefix="${LOCALBASE}"

pre-build:
    cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h

.include <bsd.port.mk>