1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/audio/blop/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection Makefile for: blop
# Date created: 15 May 2002
# Whom: Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= blop
PORTVERSION= 0.2.8
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
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_GMAKE= yes
2003-02-02 16:16:44 +00:00
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-ladspa-prefix="${LOCALBASE}"
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
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|$$(LIBS)$$|$$(LIBS) $$(LDFLAGS)|g ; \
s|-lc | |g'
.include <bsd.port.post.mk>