2013-04-22 23:19:08 +00:00
|
|
|
# Created by: Tilman Linneweh <arved@FreeBSD.org>
|
2002-11-15 19:25:58 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-05-01 22:06:36 +00:00
|
|
|
PORTNAME= swhplugins
|
2006-12-05 10:49:45 +00:00
|
|
|
PORTVERSION= 0.4.15
|
2011-10-17 10:08:33 +00:00
|
|
|
PORTREVISION= 4
|
2003-05-01 22:06:36 +00:00
|
|
|
CATEGORIES= audio
|
2014-07-28 23:00:56 +00:00
|
|
|
MASTER_SITES= http://plugin.org.uk/releases/${PORTVERSION}/
|
2003-05-01 22:06:36 +00:00
|
|
|
DISTNAME= swh-plugins-${PORTVERSION}
|
2002-11-15 19:25:58 +00:00
|
|
|
|
2003-05-01 22:06:36 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= Steve Harris' huge Collection of LADSPA Plugins
|
2002-11-15 19:25:58 +00:00
|
|
|
|
2004-11-24 06:26:16 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \
|
|
|
|
${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
|
2013-12-11 14:35:36 +00:00
|
|
|
LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float
|
2002-11-15 19:25:58 +00:00
|
|
|
|
2004-11-09 22:36:49 +00:00
|
|
|
# includes assembler code
|
2004-02-28 11:01:00 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2003-10-27 19:04:25 +00:00
|
|
|
|
2014-07-28 23:00:56 +00:00
|
|
|
USES= gmake libtool pkgconfig
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-08-14 10:08:25 +00:00
|
|
|
USE_LDCONFIG= yes
|
2002-11-15 19:25:58 +00:00
|
|
|
|
2004-07-19 17:44:27 +00:00
|
|
|
CFLAGS+= -fPIC -DPIC
|
|
|
|
|
2012-06-01 12:17:20 +00:00
|
|
|
OPTIONS_DEFINE= NLS 3DNOW SSE
|
|
|
|
3DNOW_DESC= use 3DNow! instructions
|
|
|
|
SSE_DESC= use SSE instructions
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 10:44:28 +00:00
|
|
|
USES+= gettext
|
2004-03-28 00:04:13 +00:00
|
|
|
PLIST_SUB+= NLS=""
|
2006-12-05 10:49:45 +00:00
|
|
|
LDFLAGS+= -lintl
|
2012-06-01 12:17:20 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2006-12-05 10:49:45 +00:00
|
|
|
.endif
|
|
|
|
|
2012-06-01 12:17:20 +00:00
|
|
|
.if ${PORT_OPTIONS:M3DNOW}
|
2006-12-05 10:49:45 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-3dnow
|
|
|
|
.endif
|
|
|
|
|
2012-06-01 12:17:20 +00:00
|
|
|
.if ${PORT_OPTIONS:MSSE}
|
2006-12-05 10:49:45 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-sse
|
2004-03-28 00:04:13 +00:00
|
|
|
.endif
|
|
|
|
|
2003-01-01 19:57:08 +00:00
|
|
|
post-patch:
|
2004-12-20 08:39:50 +00:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|="$$CFLAGS -Wall .*"|="$$CFLAGS"|g' ${WRKSRC}/configure
|
2005-09-16 11:04:25 +00:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|<stdint\.h>|<inttypes.h>|g' ${WRKSRC}/ladspa-util.h
|
2004-07-14 12:19:07 +00:00
|
|
|
|
2012-06-01 12:17:20 +00:00
|
|
|
.include <bsd.port.mk>
|