1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/audio/lmms/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

58 lines
1.7 KiB
Makefile

# New ports collection makefile for: lmms
# Date created: 04 Dec 2006
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= lmms
PORTVERSION= 20061204
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jylefort
MAINTAINER= jylefort@FreeBSD.org
COMMENT= An all-in-one sequencer, drum machine, sampler and more
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
LIB_DEPENDS= jack:${PORTSDIR}/audio/jack \
vorbis:${PORTSDIR}/audio/libvorbis \
FLAC:${PORTSDIR}/audio/flac \
samplerate:${PORTSDIR}/audio/libsamplerate \
sndfile:${PORTSDIR}/audio/libsndfile
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
USE_BZIP2= yes
USE_QT_VER= 3
USE_SDL= sdl sound
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:259 autoheader:259 automake:19 aclocal:19 libtool:15
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= -a
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --without-vst --without-stk
MAN1= lmms.1
post-patch:
@${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|; s|@LOCALBASE@|${LOCALBASE}|' \
${WRKSRC}/plugins/ladspa_base/ladspa_manager.cpp \
${WRKSRC}/src/core/config_mgr.cpp
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
${WRKSRC}/data/lmms \
${WRKSRC}/data/lmms.desktop
pre-configure:
@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE}
post-install:
# make it setuid-root to be able to set realtime priority
# (root privileges are dropped in the main routine)
${CHMOD} u+s ${PREFIX}/bin/lmms
.include <bsd.port.mk>