summaryrefslogtreecommitdiff
path: root/audio/snd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/snd/Makefile')
-rw-r--r--audio/snd/Makefile43
1 files changed, 23 insertions, 20 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile
index 269cdc5d1253..49c09eff6d26 100644
--- a/audio/snd/Makefile
+++ b/audio/snd/Makefile
@@ -1,6 +1,5 @@
PORTNAME= snd
-PORTVERSION= 22.9
-PORTREVISION= 3
+DISTVERSION= 25.5
CATEGORIES= audio
MASTER_SITES= https://ccrma.stanford.edu/software/snd/ \
SF
@@ -16,17 +15,18 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= localbase:ldflags
-OPTIONS_DEFINE= FFTW3 GSL S7 LADSPA MOTIF GTK2 X11 DOCS EXAMPLES
-OPTIONS_DEFAULT= FFTW3 GSL LADSPA GTK2 X11
-FFTW3_DESC= Use FFTW
-GSL_DESC= Use GNU Scientific Library
-S7_DESC= Use S7 as the extension language
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-float-samples
MAKEFILE= makefile
-ALL_TARGET= snd snd-info sndplay
MAKE_JOBS_UNSAFE= yes
+ALL_TARGET= snd snd-info sndplay
+
+OPTIONS_DEFINE= DOCS EXAMPLES FFTW3 GSL GTK2 LADSPA MOTIF S7 X11
+OPTIONS_DEFAULT= FFTW3 GSL GTK2 LADSPA X11
+OPTIONS_SUB= yes
+FFTW3_DESC= Use FFTW
+GSL_DESC= Use GNU Scientific Library
+S7_DESC= Use S7 as the extension language
FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3
FFTW3_CONFIGURE_WITH= fftw
@@ -34,7 +34,9 @@ FFTW3_CONFIGURE_WITH= fftw
GSL_LIB_DEPENDS= libgsl.so:math/gsl
GSL_CONFIGURE_WITH= gsl
-S7_CONFIGURE_WITH= s7
+GTK2_USES= gnome
+GTK2_USE= GNOME=gtk20
+GTK2_CONFIGURE_WITH= gtk
LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
LADSPA_RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
@@ -44,8 +46,9 @@ GTK2_USES= gnome
GTK2_USE= GNOME=gtk20
GTK2_CONFIGURE_WITH= gtk
-MOTIF_USES= motif
+MOTIF_USES= motif
MOTIF_CONFIGURE_WITH= motif
+S7_CONFIGURE_WITH= s7
X11_CONFIGURE_ON= --with-no-gui
@@ -62,20 +65,12 @@ do-install:
.endfor
${INSTALL_MAN} ${WRKSRC}/snd.1 ${STAGEDIR}${PREFIX}/share/man/man1/
-do-install-S7-on:
- @${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.scm ${STAGEDIR}${DATADIR}
- @${MKDIR} ${STAGEDIR}${DATADIR}/tools
- ${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${STAGEDIR}${DATADIR}/tools
- @${MKDIR} ${STAGEDIR}${DATADIR}/sndins/samples
- ${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${STAGEDIR}${DATADIR}/sndins/samples
-
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in HISTORY.Snd README.Snd
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
- ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}/pix
${INSTALL_DATA} ${WRKSRC}/pix/*.png ${STAGEDIR}${DOCSDIR}/pix
@@ -83,4 +78,12 @@ do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/DotEmacs ${STAGEDIR}${EXAMPLESDIR}
+do-install-S7-on:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.scm ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/tools
+ ${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${STAGEDIR}${DATADIR}/tools
+ @${MKDIR} ${STAGEDIR}${DATADIR}/sndins/samples
+ ${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${STAGEDIR}${DATADIR}/sndins/samples
+
.include <bsd.port.mk>