1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/audio/denemo/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

88 lines
2.7 KiB
Makefile

# Created by: trevor
# $FreeBSD$
PORTNAME= denemo
PORTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= GNU
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Graphical score editor
BUILD_DEPENDS= portaudio2>0:${PORTSDIR}/audio/portaudio2
LIB_DEPENDS= libaubio.so:${PORTSDIR}/audio/aubio \
libfluidsynth.so:${PORTSDIR}/audio/fluidsynth \
libjack.so:${PORTSDIR}/audio/jack \
libsmf.so:${PORTSDIR}/audio/libsmf \
libsndfile.so:${PORTSDIR}/audio/libsndfile \
librubberband.so:${PORTSDIR}/audio/rubberband \
libevview.so:${PORTSDIR}/graphics/evince \
libguile.so:${PORTSDIR}/lang/guile \
libfftw3.so:${PORTSDIR}/math/fftw3
RUN_DEPENDS= portaudio2>0:${PORTSDIR}/audio/portaudio2 \
xdg-open:${PORTSDIR}/devel/xdg-utils
LICENSE= GPLv3
OPTIONS_DEFINE= LILYPOND DOCS EXAMPLES
LILYPOND_DESC= Install LilyPond (Printing)
USE_GNOME= gtk20 gtksourceview2 librsvg2 libxml2
USES= bison gmake pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gtk2 \
--enable-jack \
--disable-portmidi \
--sysconfdir=${PREFIX}/etc
CPPFLAGS+= -I${LOCALBASE}/include/portaudio2 \
-I${LOCALBASE}/include
LDFLAGS+= ${LOCALBASE}/lib/portaudio2/libportaudio.so \
-L${LOCALBASE}/lib
LILYPOND_RUN_DEPENDS= lilypond:${PORTSDIR}/print/lilypond
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
'/^CFLAGS=/s|_LIBS|_CFLAGS| ; \
s|-lpthread|-pthread|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/^SUBDIRS/s|doc|| ; \
/) install-data-hook/s|^|#|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|"firefox"|"xdg-open"|' ${WRKSRC}/src/prefops.c
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for i in actions templates
@(cd ${WRKSRC} && ${TAR} --exclude "*Makefile*" -cf - ${i}) | \
(cd ${STAGEDIR}${DATADIR} && ${TAR} --unlink -xf -)
@${FIND} ${STAGEDIR}${DATADIR}/${i} -print0 | \
${XARGS} -0 ${CHOWN} ${SHAREOWN}:${SHAREGRP}
@${FIND} ${STAGEDIR}${DATADIR}/${i} -type d -print0 | \
${XARGS} -0 ${CHMOD} a+rx
@${FIND} ${STAGEDIR}${DATADIR}/${i} -type f -print0 | \
${XARGS} -0 ${CHMOD} ${SHAREMODE}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS ChangeLog NEWS README
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
.for i in DESIGN DESIGN.lilypond GOALS TODO
(cd ${WRKSRC}/doc && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}/manual
(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html \
${STAGEDIR}${DOCSDIR}/manual)
@${MKDIR} ${STAGEDIR}${DOCSDIR}/manual/images
(cd ${WRKSRC}/doc/images && ${INSTALL_DATA} *.png \
${STAGEDIR}${DOCSDIR}/manual/images)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${INSTALL_DATA} *.denemo \
${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>