2001-02-26 02:54:16 +01:00
|
|
|
# New ports collection makefile for: denemo
|
|
|
|
# Date created: 2001-02-24
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= denemo
|
2010-04-16 15:16:59 +02:00
|
|
|
PORTVERSION= 0.8.14
|
2001-02-26 02:54:16 +01:00
|
|
|
CATEGORIES= audio
|
2009-10-04 12:08:42 +02:00
|
|
|
MASTER_SITES= SAVANNAH
|
2001-02-26 02:54:16 +01:00
|
|
|
|
2006-07-08 02:37:45 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= Graphical score editor
|
2001-02-26 02:54:16 +01:00
|
|
|
|
2009-10-04 12:08:42 +02:00
|
|
|
BUILD_DEPENDS= portaudio>=19:${PORTSDIR}/audio/portaudio2
|
|
|
|
LIB_DEPENDS= aubio.3:${PORTSDIR}/audio/aubio \
|
2010-01-25 09:49:53 +01:00
|
|
|
fluidsynth.4:${PORTSDIR}/audio/fluidsynth \
|
2009-10-04 12:08:42 +02:00
|
|
|
jack.0:${PORTSDIR}/audio/jack \
|
|
|
|
guile.20:${PORTSDIR}/lang/guile \
|
|
|
|
fftw3.5:${PORTSDIR}/math/fftw3
|
2010-04-16 15:16:59 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2009-10-04 12:08:42 +02:00
|
|
|
|
2009-11-12 11:52:32 +01:00
|
|
|
USE_GNOME= gtk20 gtksourceview2 librsvg2 libxml2
|
2007-10-17 12:13:01 +02:00
|
|
|
USE_BISON= build
|
2006-02-22 22:49:01 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2009-11-12 11:52:32 +01:00
|
|
|
CONFIGURE_ARGS= --enable-jack \
|
2009-10-04 12:08:42 +02:00
|
|
|
--sysconfdir=${PREFIX}/etc
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
2006-02-22 22:49:01 +01:00
|
|
|
|
2009-10-04 12:08:42 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
2006-02-22 22:49:01 +01:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2001-02-26 02:54:16 +01:00
|
|
|
|
2004-04-12 06:03:55 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-04-16 15:16:59 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2006-02-22 22:49:01 +01:00
|
|
|
post-patch:
|
2009-10-04 12:08:42 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|m4 doc actions|m4 actions| ; \
|
|
|
|
s|fonts examples templates|fonts templates|' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/src/lyparser.y
|
2006-02-22 22:49:01 +01:00
|
|
|
|
|
|
|
post-install:
|
2009-10-04 12:08:42 +02:00
|
|
|
@${LN} -sf ${DOCSDIR}/manual ${DATADIR}/manual
|
|
|
|
@${LN} -sf ${EXAMPLESDIR} ${DATADIR}/examples
|
2001-02-26 02:54:16 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-02-22 22:49:01 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2009-10-04 12:08:42 +02:00
|
|
|
.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}
|
2001-02-26 02:54:16 +01:00
|
|
|
.endfor
|
2009-10-04 12:08:42 +02:00
|
|
|
@${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}
|
2001-02-26 02:54:16 +01:00
|
|
|
.endif
|
|
|
|
|
2004-04-12 06:03:55 +02:00
|
|
|
.include <bsd.port.post.mk>
|