svn commit: r448194 - branches/2017Q3/audio/dssi

Richard Gallamore ultima at FreeBSD.org
Thu Aug 17 21:19:43 UTC 2017


Author: ultima
Date: Thu Aug 17 21:19:41 2017
New Revision: 448194
URL: https://svnweb.freebsd.org/changeset/ports/448194

Log:
  MFH: r447920
  
  * 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)
  Differential Revision:	https://reviews.freebsd.org/D11992
  
  Approved by:	ports-secteam (feld)

Modified:
  branches/2017Q3/audio/dssi/Makefile
Directory Properties:
  branches/2017Q3/   (props changed)

Modified: branches/2017Q3/audio/dssi/Makefile
==============================================================================
--- branches/2017Q3/audio/dssi/Makefile	Thu Aug 17 21:18:18 2017	(r448193)
+++ branches/2017Q3/audio/dssi/Makefile	Thu Aug 17 21:19:41 2017	(r448194)
@@ -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-branches mailing list