1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/audio/denemo/Makefile
Martin Wilke 151664cac4 - Update to 1.5.1
PR:		161631
Submitted by:	Ports Fury
Feature safe:	yes
2011-11-18 20:07:20 +00:00

83 lines
2.0 KiB
Makefile

# New ports collection makefile for: denemo
# Date created: 2001-02-24
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= denemo
PORTVERSION= 0.9.2
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= GNU
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Graphical score editor
BUILD_DEPENDS= portaudio>=19:${PORTSDIR}/audio/portaudio2
LIB_DEPENDS= aubio.3:${PORTSDIR}/audio/aubio \
fluidsynth.1:${PORTSDIR}/audio/fluidsynth \
jack.0:${PORTSDIR}/audio/jack \
guile.21:${PORTSDIR}/lang/guile \
fftw3:${PORTSDIR}/math/fftw3 \
smf.0:${PORTSDIR}/audio/libsmf
RUN_DEPENDS= portaudio>=19:${PORTSDIR}/audio/portaudio2
OPTIONS+= LILYPOND "Install LilyPond (Printing)" off
USE_GNOME= gtk20 gtksourceview2 librsvg2 libxml2
USE_BISON= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-jack \
--sysconfdir=${PREFIX}/etc
PORTDOCS= *
PORTEXAMPLES= *
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
.if defined(WITH_LILYPOND)
RUN_DEPENDS+= lilypond:${PORTSDIR}/print/lilypond
.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
.endif
post-patch:
@${REINPLACE_CMD} -e 's|m4 doc actions|m4 actions| ; \
s|examples templates|templates|' \
-e "/\/examples/d" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/ltmain.sh
post-install:
@${LN} -sf ${DOCSDIR}/manual ${DATADIR}/manual
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in AUTHORS ChangeLog NEWS README
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in DESIGN DESIGN.lilypond GOALS TODO
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
@${MKDIR} ${DOCSDIR}/manual
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/manual
@${MKDIR} ${DOCSDIR}/manual/images
${INSTALL_DATA} ${WRKSRC}/doc/images/*.png ${DOCSDIR}/manual/images
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.denemo ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>