2002-09-21 06:01:33 +00:00
|
|
|
# New ports collection Makefile for: blop
|
|
|
|
# Date created: 15 May 2002
|
2002-10-22 13:15:25 +00:00
|
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
2002-09-21 06:01:33 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= blop
|
2004-08-30 07:22:00 +00:00
|
|
|
PORTVERSION= 0.2.8
|
2002-09-21 06:01:33 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2003-02-02 16:16:44 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= Bandlimited oscillator plugins for LADSPA-aware audio applications
|
2002-09-21 06:01:33 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
|
|
|
|
|
2003-05-01 21:02:51 +00:00
|
|
|
USE_GETOPT_LONG= yes
|
|
|
|
USE_REINPLACE= yes
|
2002-09-29 07:47:37 +00:00
|
|
|
USE_GMAKE= yes
|
2003-02-02 16:16:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-08-30 07:22:00 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-05-01 21:02:51 +00:00
|
|
|
CONFIGURE_ARGS= --with-ladspa-prefix="${LOCALBASE}"
|
|
|
|
|
2004-08-30 07:22:00 +00:00
|
|
|
OPTIONS= NLS "Native language support" on
|
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2003-05-01 21:02:51 +00:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
2004-08-30 07:22:00 +00:00
|
|
|
's|$$(LIBS)$$|$$(LIBS) $$(LDFLAGS)|g ; \
|
2003-05-01 21:02:51 +00:00
|
|
|
s|-lc | |g'
|
2002-09-21 06:01:33 +00:00
|
|
|
|
2004-08-30 07:22:00 +00:00
|
|
|
.include <bsd.port.post.mk>
|