Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159690446
D11992.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D11992.diff
View Options
Index: head/audio/dssi/Makefile
===================================================================
--- head/audio/dssi/Makefile
+++ head/audio/dssi/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dssi
PORTVERSION= 1.1.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= SF
@@ -11,6 +11,7 @@
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 @@
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 @@
@${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>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 18, 2:53 AM (6 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34031834
Default Alt Text
D11992.diff (2 KB)
Attached To
Mode
D11992: audio/dssi: Add LICENSE_FILE, Use OPTIONS helpers, Add missing x11 dependency
Attached
Detach File
Event Timeline
Log In to Comment