svn commit: r447920 - head/audio/dssi
Richard Gallamore
ultima at FreeBSD.org
Sun Aug 13 22:32:00 UTC 2017
Author: ultima
Date: Sun Aug 13 22:31:58 2017
New Revision: 447920
URL: https://svnweb.freebsd.org/changeset/ports/447920
Log:
* Add license file
* Cleanup Makefile
* Bump PORTREVISION for added USE_XORG depend
PR: 221239
Submitted by: Yuri Victorovich
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
MFH: 2017Q3
Differential Revision: https://reviews.freebsd.org/D11992
Modified:
head/audio/dssi/Makefile
Modified: head/audio/dssi/Makefile
==============================================================================
--- head/audio/dssi/Makefile Sun Aug 13 22:29:41 2017 (r447919)
+++ head/audio/dssi/Makefile Sun Aug 13 22:31:58 2017 (r447920)
@@ -3,7 +3,7 @@
PORTNAME= dssi
PORTVERSION= 1.1.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= SF
@@ -11,6 +11,7 @@ MAINTAINER= ports at FreeBSD.org
COMMENT= API for audio processing plugins
LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
LIB_DEPENDS= libdssialsacompat.so:audio/libdssialsacompat \
@@ -20,34 +21,24 @@ LIB_DEPENDS= libdssialsacompat.so:audio/libdssialsacom
libjack.so:audio/jack
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
-USES= gmake pathfix pkgconfig libtool
+USES= gmake pathfix pkgconfig localbase libtool
GNU_CONFIGURE= yes
+USE_XORG= x11
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
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
-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_DEFAULT=QT4
OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MQT4}
-USE_QT4= corelib gui moc_build
+QT4_USE= QT4=corelib,gui,moc_build
QT_NONSTANDARD= yes
-.endif
post-patch:
@${REINPLACE_CMD} -e \
@@ -59,26 +50,22 @@ post-patch:
@${REINPLACE_CMD} -e \
'/alsa >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
-.if ! ${PORT_OPTIONS:MQT4}
+post-patch-QT4-off:
@${REINPLACE_CMD} -e \
'/QtCore >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
-.endif
post-install:
.for l in trivial_synth less_trivial_synth trivial_sampler karplong
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/${l}.so
.endfor
-
@${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}
+post-install-QT4-on:
${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR}/|} \
${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list