Lines 5-11
Link Here
|
5 |
# $FreeBSD: ports/audio/blop/Makefile,v 1.6 2003/02/20 16:49:41 knu Exp $ |
5 |
# $FreeBSD: ports/audio/blop/Makefile,v 1.6 2003/02/20 16:49:41 knu Exp $ |
6 |
|
6 |
|
7 |
PORTNAME= blop |
7 |
PORTNAME= blop |
8 |
PORTVERSION= 0.2.6 |
8 |
PORTVERSION= 0.2.7 |
9 |
CATEGORIES= audio |
9 |
CATEGORIES= audio |
10 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
10 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
11 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 14-29
Link Here
|
14 |
COMMENT= Bandlimited oscillator plugins for LADSPA-aware audio applications |
14 |
COMMENT= Bandlimited oscillator plugins for LADSPA-aware audio applications |
15 |
|
15 |
|
16 |
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa |
16 |
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa |
17 |
.if !exists(/usr/include/getopt.h) |
|
|
18 |
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt |
19 |
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lgnugetopt" |
20 |
.endif |
21 |
|
17 |
|
|
|
18 |
USE_GETOPT_LONG= yes |
19 |
USE_REINPLACE= yes |
22 |
USE_GMAKE= yes |
20 |
USE_GMAKE= yes |
23 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
24 |
CONFIGURE_TARGET= |
22 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
25 |
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \ |
23 |
CONFIGURE_ARGS= --with-ladspa-prefix="${LOCALBASE}" |
26 |
--with-ladspa-prefix="${LOCALBASE}" |
24 |
|
|
|
25 |
post-patch: |
26 |
@${REINPLACE_CMD} 's|-pipe -Wall -O3 |\$$CFLAGS |g' ${WRKSRC}/configure |
27 |
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ |
28 |
's|\$$(LIBS)|\$$(LIBS) \$$(LDFLAGS)|g ; \ |
29 |
s|-lc | |g' |
27 |
|
30 |
|
28 |
pre-build: |
31 |
pre-build: |
29 |
cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h |
32 |
cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h |