1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/audio/swhplugins/Makefile

58 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$
PORTNAME= swhplugins
PORTVERSION= 0.4.15
PORTREVISION= 4
CATEGORIES= audio
2014-07-28 23:00:56 +00:00
MASTER_SITES= http://plugin.org.uk/releases/${PORTVERSION}/
DISTNAME= swh-plugins-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Steve Harris' huge Collection of LADSPA Plugins
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \
${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float
2004-11-09 22:36:49 +00:00
# includes assembler code
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
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
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}
USES+= gettext
2004-03-28 00:04:13 +00:00
PLIST_SUB+= NLS=""
LDFLAGS+= -lintl
2012-06-01 12:17:20 +00:00
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
2012-06-01 12:17:20 +00:00
.if ${PORT_OPTIONS:M3DNOW}
CONFIGURE_ARGS+= --enable-3dnow
.endif
2012-06-01 12:17:20 +00:00
.if ${PORT_OPTIONS:MSSE}
CONFIGURE_ARGS+= --enable-sse
2004-03-28 00:04:13 +00:00
.endif
2003-01-01 19:57:08 +00:00
post-patch:
@${REINPLACE_CMD} -e \
's|="$$CFLAGS -Wall .*"|="$$CFLAGS"|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|<stdint\.h>|<inttypes.h>|g' ${WRKSRC}/ladspa-util.h
2012-06-01 12:17:20 +00:00
.include <bsd.port.mk>