Date: Fri, 8 Nov 2013 12:36:59 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333213 - head/audio/dssi Message-ID: <201311081236.rA8CaxEc076515@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Fri Nov 8 12:36:59 2013 New Revision: 333213 URL: http://svnweb.freebsd.org/changeset/ports/333213 Log: - Pass maintainership to submitter - Use the new format for LIB_DEPENDS - Support STAGEDIR and add OPTIONS_SUB - Add USE_QT4= moc_build - Add DOCS and EXAMPLES - Add DOCS and EXAMPLES Options Approved by: pawel / wg (mentors, implicit) Modified: head/audio/dssi/Makefile head/audio/dssi/pkg-plist (contents, props changed) Modified: head/audio/dssi/Makefile ============================================================================== --- head/audio/dssi/Makefile Fri Nov 8 12:34:17 2013 (r333212) +++ head/audio/dssi/Makefile Fri Nov 8 12:36:59 2013 (r333213) @@ -7,40 +7,47 @@ PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@FreeBSD.org COMMENT= API for audio processing plugins LICENSE= BSD LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa -LIB_DEPENDS= dssialsacompat.0:${PORTSDIR}/audio/libdssialsacompat \ - lo:${PORTSDIR}/audio/liblo \ - samplerate.1:${PORTSDIR}/audio/libsamplerate \ - sndfile.1:${PORTSDIR}/audio/libsndfile \ - jack.0:${PORTSDIR}/audio/jack +LIB_DEPENDS= libdssialsacompat.so:${PORTSDIR}/audio/libdssialsacompat \ + liblo.so:${PORTSDIR}/audio/liblo \ + libsamplerate.so:${PORTSDIR}/audio/libsamplerate \ + libsndfile.so:${PORTSDIR}/audio/libsndfile \ + libjack.so:${PORTSDIR}/audio/jack RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa -OPTIONS_DEFINE= QT4 - -NO_STAGE= yes USES= gmake pathfix pkgconfig GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN1= dssi_analyse_plugin.1 dssi_list_plugins.1 dssi_osc_send.1 \ - dssi_osc_update.1 jack-dssi-host.1 +PORTDOCS= ChangeLog README + +PORTEXAMPLES= * + +EXAMPLESSRCDIR= ${WRKSRC}/examples + +EXAMPLES_FILES1= dssi_analyse_plugin dssi_list_plugins \ + dssi_osc_send dssi_osc_update + +EXAMPLES_FILES2= LTS_qt trivial_sampler_qt + +OPTIONS_DEFINE= DOCS EXAMPLES QT4 +OPTIONS_DEFAULT= QT4 + +OPTIONS_SUB= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MQT4} -USE_QT4= corelib gui +USE_QT4= corelib gui moc_build QT_NONSTANDARD= yes -PLIST_SUB= QT="" -.else -PLIST_SUB= QT="@comment " .endif post-patch: @@ -52,9 +59,21 @@ post-patch: 's|-ldl$$||' ${WRKSRC}/jack-dssi-host/Makefile.in @${REINPLACE_CMD} -e \ '/alsa >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure -.if empty(PORT_OPTIONS:MQT4) + +.if ! ${PORT_OPTIONS:MQT4} @${REINPLACE_CMD} -e \ '/QtCore >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure .endif +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR}/|} ${STAGEDIR}${EXAMPLESDIR} + +.if ${PORT_OPTIONS:MQT4} + ${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR}/|} ${STAGEDIR}${EXAMPLESDIR} +.endif + .include <bsd.port.mk> Modified: head/audio/dssi/pkg-plist ============================================================================== --- head/audio/dssi/pkg-plist Fri Nov 8 12:34:17 2013 (r333212) +++ head/audio/dssi/pkg-plist Fri Nov 8 12:36:59 2013 (r333213) @@ -10,15 +10,20 @@ bin/trivial_synth include/dssi.h lib/dssi/karplong.la lib/dssi/karplong.so -%%QT%%lib/dssi/less_trivial_synth/LTS_qt lib/dssi/less_trivial_synth.la lib/dssi/less_trivial_synth.so -%%QT%%lib/dssi/trivial_sampler/trivial_sampler_qt +%%QT4%%lib/dssi/less_trivial_synth/LTS_qt lib/dssi/trivial_sampler.la lib/dssi/trivial_sampler.so +%%QT4%%lib/dssi/trivial_sampler/trivial_sampler_qt lib/dssi/trivial_synth.la lib/dssi/trivial_synth.so libdata/pkgconfig/dssi.pc -%%QT%%@dirrm lib/dssi/trivial_sampler -%%QT%%@dirrm lib/dssi/less_trivial_synth +man/man1/dssi_analyse_plugin.1.gz +man/man1/dssi_list_plugins.1.gz +man/man1/dssi_osc_send.1.gz +man/man1/dssi_osc_update.1.gz +man/man1/jack-dssi-host.1.gz +%%QT4%%@dirrm lib/dssi/trivial_sampler +%%QT4%%@dirrm lib/dssi/less_trivial_synth @dirrm lib/dssi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311081236.rA8CaxEc076515>