2002-11-15 20:25:58 +01:00
|
|
|
# New ports collection Makefile for: swhplugins
|
|
|
|
# Date created: 12 May 2002
|
|
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-05-02 00:06:36 +02:00
|
|
|
PORTNAME= swhplugins
|
2004-02-28 12:01:00 +01:00
|
|
|
PORTVERSION= 0.4.3
|
2003-05-02 00:06:36 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://plugin.org.uk/releases/%SUBDIR%/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
|
|
|
DISTNAME= swh-plugins-${PORTVERSION}
|
2002-11-15 20:25:58 +01:00
|
|
|
|
2003-05-02 00:06:36 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= Steve Harris' huge Collection of LADSPA Plugins
|
2002-11-15 20:25:58 +01:00
|
|
|
|
2003-05-02 00:06:36 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
|
2004-02-04 05:36:30 +01:00
|
|
|
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
|
2002-11-15 20:25:58 +01:00
|
|
|
|
2003-10-27 20:04:25 +01:00
|
|
|
# includes assember code
|
2004-02-28 12:01:00 +01:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2003-10-27 20:04:25 +01:00
|
|
|
|
2003-05-02 00:06:36 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
2004-03-14 07:17:56 +01:00
|
|
|
USE_LIBTOOL_VER= 13
|
2003-05-02 00:06:36 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-02-28 12:01:00 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-fPIC -I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE}
|
2003-05-02 00:06:36 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-11-15 20:25:58 +01:00
|
|
|
|
2004-03-28 01:04:13 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-01-01 20:57:08 +01:00
|
|
|
post-patch:
|
2003-05-02 00:06:36 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g ; \
|
|
|
|
s|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
|
|
|
|
s|\\\$${top_builddir}/intl/libintl.a|-lintl|g ' \
|
|
|
|
${WRKSRC}/configure
|
2003-06-16 00:03:37 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|#include <bits/nan.h>||g' \
|
|
|
|
${WRKSRC}/gverb/gverb-test.c
|
2004-02-28 12:01:00 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|-lrt||g' ${WRKSRC}/Makefile.in
|
2002-11-15 20:25:58 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|