1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/audio/ardour/Makefile
Martin Wilke 5ac2eea914 Ardour is a digital audio workstation. You can use it to record,
edit and mix multi-track audio.  Produce your own CD's.  Mix video
soundtracks.  Experiment with new ideas about music and sound.
Generate sound installations for 12 speaker gallery shows.
Ardour capabilities include: multichannel recording, non-linear,
non-destructive region based editing with unlimited undo/redo,
full automation support, a mixer whose capabilities rival high
end hardware consoles, lots of plugins to warp, shift and shape
your music, and controllable from hardware control surfaces
at the same time as it syncs to timecode.  If you've been looking
for a tool similar to ProTools, Nuendo, Cubase SX, Digital
Performer, Samplitude or Sequoia, you might have found it.

WWW:	http://ardour.org/

PR:		ports/106450
Submitted by:	trasz <trasz at pin.if.uz.zgora.pl>
2006-12-08 21:53:44 +00:00

59 lines
1.7 KiB
Makefile

# New ports collection makefile for: ardour
# Date created: 2006-12-04
# Whom: trasz <trasz@pin.if.uz.zgora.pl>
#
# $FreeBSD$
#
PORTNAME= ardour
DISTVERSION= 2.0beta9
CATEGORIES= audio
MASTER_SITES= http://ardour.org/files/releases/
MAINTAINER= trasz@pin.if.uz.zgora.pl
COMMENT= Ardour - a digital audio workstation
LIB_DEPENDS= lrdf.2:${PORTSDIR}/textproc/liblrdf \
raptor.2:${PORTSDIR}/textproc/raptor \
samplerate.1:${PORTSDIR}/audio/libsamplerate \
jack.0:${PORTSDIR}/audio/jack \
sndfile.1:${PORTSDIR}/audio/libsndfile \
boost_date_time.3:${PORTSDIR}/devel/boost \
gnomecanvasmm-2.6:${PORTSDIR}/graphics/libgnomecanvasmm26 \
sqlite3:${PORTSDIR}/databases/sqlite3 \
lo.6:${PORTSDIR}/audio/liblo
USE_SCONS= yes
SCONS_ENV+= SYSLIBS=yes PREFIX=${PREFIX}
USE_BZIP2= yes
USE_GNOME= gtk20 libxslt libgnomecanvas
USE_LDCONFIG= ${PREFIX}/lib/ardour2 ${PREFIX}/lib/ardour2/surfaces
.include <bsd.port.pre.mk>
# Upstream uses these flags by default.
.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
CFLAGS+= -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce
.endif
.if ${OSVERSION} < 600000
BROKEN= Does not compile on 4.x and 5.x
.endif
post-patch:
${REINPLACE_CMD} -e "s|%%CFLAGS%%|${CFLAGS}|" ${WRKSRC}/SConstruct
${REINPLACE_CMD} -e "s|alsa_pcm|oss|g" ${WRKSRC}/templates/*
post-install:
${CHOWN} -R 0:0 ${PREFIX}/lib/ardour2/
${CHMOD} -R a+rX ${PREFIX}/lib/ardour2/
${CHOWN} -R 0:0 ${PREFIX}/etc/ardour2/
${CHMOD} -R a+rX ${PREFIX}/etc/ardour2/
${CHOWN} -R 0:0 ${PREFIX}/share/ardour2/
${CHMOD} -R a+rX ${PREFIX}/share/ardour2/
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${EXAMPLESDIR}/templates
${INSTALL_DATA} ${WRKSRC}/templates/*.template ${EXAMPLESDIR}/templates/
.include <bsd.port.post.mk>