mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
- Port to optionsNG.
- Trim headers. - Cleanup COMMENT and LICENSE. PR: 173807 [1] Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> [1], bapt via email
This commit is contained in:
parent
cd98f2f7af
commit
4e92a142cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309947
@ -1,7 +1,3 @@
|
|||||||
# New ports collection makefile for: speech-dispatcher
|
|
||||||
# Date created: 8 December 2009
|
|
||||||
# Whom: Alberto Villa <villa.alberto@gmail.com>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= speech-dispatcher
|
PORTNAME= speech-dispatcher
|
||||||
@ -16,8 +12,8 @@ COMMENT= Common interface to speech synthesis
|
|||||||
LICENSE= GPLv2 LGPL21
|
LICENSE= GPLv2 LGPL21
|
||||||
LICENSE_COMB= multi
|
LICENSE_COMB= multi
|
||||||
|
|
||||||
LIB_DEPENDS= dotconf.0:${PORTSDIR}/devel/dotconf \
|
LIB_DEPENDS= dotconf:${PORTSDIR}/devel/dotconf \
|
||||||
sndfile.1:${PORTSDIR}/audio/libsndfile
|
sndfile:${PORTSDIR}/audio/libsndfile
|
||||||
|
|
||||||
# gnomehier is required because of share/sounds directory.
|
# gnomehier is required because of share/sounds directory.
|
||||||
USE_GNOME= glib20 gnomehier pkgconfig
|
USE_GNOME= glib20 gnomehier pkgconfig
|
||||||
@ -40,16 +36,14 @@ PLIST_SUB+= ETCFILES="${ETCFILES}"
|
|||||||
|
|
||||||
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO
|
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO
|
||||||
|
|
||||||
INFO= spd-say ${PORTNAME} ssip
|
INFO= spd-say speech-dispatcher ssip
|
||||||
|
|
||||||
OPTIONS= ALSA "ALSA support" off \
|
OPTIONS_DEFINE= ALSA AO ESPEAK FESTIVAL FLITE NAS PULSEAUDIO PYTHON
|
||||||
ESPEAK "eSpeak output module" on \
|
OPTIONS_DEFAULT=ESPEAK
|
||||||
FESTIVAL "Festival output module" off \
|
|
||||||
FLITE "Festival Lite output module" off \
|
ESPEAK_DESC= eSpeak output module
|
||||||
LIBAO "libao support" off \
|
FESTIVAL_DESC= Festival output module
|
||||||
NAS "Network Audio System support" off \
|
FLITE_DESC= Festival Lite output module
|
||||||
PULSEAUDIO "PulseAudio support" off \
|
|
||||||
PYTHON "Python support" off
|
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
@ -57,64 +51,64 @@ OPTIONS= ALSA "ALSA support" off \
|
|||||||
CFLAGS+= -fPIC
|
CFLAGS+= -fPIC
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.ifdef(WITH_ALSA)
|
.if ${PORT_OPTIONS:MALSA}
|
||||||
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
|
LIB_DEPENDS+= asound:${PORTSDIR}/audio/alsa-lib
|
||||||
CONFIGURE_ARGS+= --with-alsa
|
CONFIGURE_ARGS+=--with-alsa
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-alsa
|
CONFIGURE_ARGS+=--without-alsa
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.ifndef(WITHOUT_ESPEAK)
|
.if ${PORT_OPTIONS:MAO}
|
||||||
LIB_DEPENDS+= espeak.1:${PORTSDIR}/audio/espeak
|
LIB_DEPENDS+= ao:${PORTSDIR}/audio/libao
|
||||||
CONFIGURE_ARGS+= --with-espeak
|
CONFIGURE_ARGS+=--with-libao
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+=--without-libao
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:MESPEAK}
|
||||||
|
LIB_DEPENDS+= espeak:${PORTSDIR}/audio/espeak
|
||||||
|
CONFIGURE_ARGS+=--with-espeak
|
||||||
PLIST_SUB+= ESPEAK=""
|
PLIST_SUB+= ESPEAK=""
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-espeak
|
CONFIGURE_ARGS+=--without-espeak
|
||||||
PLIST_SUB+= ESPEAK="@comment "
|
PLIST_SUB+= ESPEAK="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.ifdef(WITH_FESTIVAL)
|
.if ${PORT_OPTIONS:MFESTIVAL}
|
||||||
RUN_DEPENDS+= festival:${PORTSDIR}/audio/festival \
|
RUN_DEPENDS+= festival:${PORTSDIR}/audio/festival \
|
||||||
${LOCALBASE}/share/festival/lib/${PORTNAME}.scm:${PORTSDIR}/audio/festival-freebsoft-utils
|
${LOCALBASE}/share/festival/lib/${PORTNAME}.scm:${PORTSDIR}/audio/festival-freebsoft-utils
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.ifdef(WITH_FLITE)
|
.if ${PORT_OPTIONS:MFLITE}
|
||||||
BUILD_DEPENDS+= flite:${PORTSDIR}/audio/flite
|
BUILD_DEPENDS+= flite:${PORTSDIR}/audio/flite
|
||||||
RUN_DEPENDS+= flite:${PORTSDIR}/audio/flite
|
RUN_DEPENDS+= flite:${PORTSDIR}/audio/flite
|
||||||
CONFIGURE_ARGS+= --with-flite
|
CONFIGURE_ARGS+=--with-flite
|
||||||
PLIST_SUB+= FLITE=""
|
PLIST_SUB+= FLITE=""
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-flite
|
CONFIGURE_ARGS+=--without-flite
|
||||||
PLIST_SUB+= FLITE="@comment "
|
PLIST_SUB+= FLITE="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.ifdef(WITH_LIBAO)
|
.if ${PORT_OPTIONS:MNAS}
|
||||||
LIB_DEPENDS+= ao.4:${PORTSDIR}/audio/libao
|
LIB_DEPENDS+= audio:${PORTSDIR}/audio/nas
|
||||||
CONFIGURE_ARGS+= --with-libao
|
CONFIGURE_ARGS+=--with-nas
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-libao
|
CONFIGURE_ARGS+=--without-nas
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.ifdef(WITH_NAS)
|
.if ${PORT_OPTIONS:MPULSEAUDIO}
|
||||||
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
|
LIB_DEPENDS+= pulse:${PORTSDIR}/audio/pulseaudio
|
||||||
CONFIGURE_ARGS+= --with-nas
|
CONFIGURE_ARGS+=--with-pulse
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-nas
|
CONFIGURE_ARGS+=--without-pulse
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_PULSEAUDIO) && ${OSVERSION} >= 700041
|
.if ${PORT_OPTIONS:MPYTHON}
|
||||||
LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
|
|
||||||
CONFIGURE_ARGS+= --with-pulse
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --without-pulse
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.ifdef(WITH_PYTHON)
|
|
||||||
USE_PYTHON= 2.5+
|
USE_PYTHON= 2.5+
|
||||||
CONFIGURE_ARGS+= --enable-python
|
CONFIGURE_ARGS+=--enable-python
|
||||||
PLIST_SUB+= PYTHON=""
|
PLIST_SUB+= PYTHON=""
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-python
|
CONFIGURE_ARGS+=--disable-python
|
||||||
PLIST_SUB+= PYTHON="@comment "
|
PLIST_SUB+= PYTHON="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -137,7 +131,7 @@ post-install:
|
|||||||
${CP} -p ${ETCDIR}/${f}.sample ${ETCDIR}/${f}; \
|
${CP} -p ${ETCDIR}/${f}.sample ${ETCDIR}/${f}; \
|
||||||
fi
|
fi
|
||||||
.endfor
|
.endfor
|
||||||
.ifndef(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${DOCSDIR}
|
||||||
.for f in ${PORTDOCS}
|
.for f in ${PORTDOCS}
|
||||||
${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}
|
${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# New ports collection makefile for: usbmuxd
|
|
||||||
# Date created: 10 June 2010
|
|
||||||
# Whom: Alberto Villa <avilla@FreeBSD.org>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= usbmuxd
|
PORTNAME= usbmuxd
|
||||||
@ -13,7 +9,7 @@ MASTER_SITES= http://www.libimobiledevice.org/downloads/
|
|||||||
MAINTAINER= avilla@FreeBSD.org
|
MAINTAINER= avilla@FreeBSD.org
|
||||||
COMMENT= Daemon for multiplexing connections over USB to an iPhone/iPod Touch
|
COMMENT= Daemon for multiplexing connections over USB to an iPhone/iPod Touch
|
||||||
|
|
||||||
LIB_DEPENDS= plist.1:${PORTSDIR}/devel/libplist
|
LIB_DEPENDS= plist:${PORTSDIR}/devel/libplist
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_CMAKE= yes
|
USE_CMAKE= yes
|
||||||
@ -22,12 +18,14 @@ USE_LDCONFIG= yes
|
|||||||
|
|
||||||
PORTDOCS= AUTHORS README README.devel
|
PORTDOCS= AUTHORS README README.devel
|
||||||
|
|
||||||
OPTIONS= INOTIFY "Use inotify instead of polling (saves energy)" off
|
OPTIONS_DEFINE= INOTIFY
|
||||||
|
|
||||||
|
INOTIFY_DESC= Use inotify instead of polling (saves energy)
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.ifdef(WITH_INOTIFY)
|
.if ${PORT_OPTIONS:MINOTIFY}
|
||||||
LIB_DEPENDS+= inotify.0:${PORTSDIR}/devel/libinotify
|
LIB_DEPENDS+= inotify:${PORTSDIR}/devel/libinotify
|
||||||
.else
|
.else
|
||||||
CMAKE_ARGS+= -DWANT_INOTIFY:BOOL=FALSE
|
CMAKE_ARGS+= -DWANT_INOTIFY:BOOL=FALSE
|
||||||
.endif
|
.endif
|
||||||
@ -50,7 +48,7 @@ post-install:
|
|||||||
${MKDIR} ${DATADIR}
|
${MKDIR} ${DATADIR}
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/python-client/*.py \
|
${INSTALL_SCRIPT} ${WRKSRC}/python-client/*.py \
|
||||||
${DATADIR}/
|
${DATADIR}/
|
||||||
.ifndef(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${DOCSDIR}
|
||||||
.for f in ${PORTDOCS}
|
.for f in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# New ports collection makefile for: libplist
|
|
||||||
# Date created: 28 May 2010
|
|
||||||
# Whom: Alberto Villa <avilla@FreeBSD.org>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= libplist
|
PORTNAME= libplist
|
||||||
@ -10,10 +6,9 @@ CATEGORIES= devel
|
|||||||
MASTER_SITES= http://www.libimobiledevice.org/downloads/
|
MASTER_SITES= http://www.libimobiledevice.org/downloads/
|
||||||
|
|
||||||
MAINTAINER= avilla@FreeBSD.org
|
MAINTAINER= avilla@FreeBSD.org
|
||||||
COMMENT= A library to handle Apple Property List format
|
COMMENT= Library to handle Apple Property List format
|
||||||
|
|
||||||
LICENSE= LGPL21
|
LICENSE= LGPL21
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
|
||||||
|
|
||||||
USE_GNOME= libxml2
|
USE_GNOME= libxml2
|
||||||
# Unlisted dependency.
|
# Unlisted dependency.
|
||||||
@ -27,24 +22,24 @@ USE_LDCONFIG= ${LOCALBASE}/lib
|
|||||||
|
|
||||||
PORTDOCS= AUTHORS NEWS README
|
PORTDOCS= AUTHORS NEWS README
|
||||||
|
|
||||||
OPTIONS= CYTHON "Enable Cython Python bindings" off \
|
OPTIONS_DEFINE= CYTHON SWIG
|
||||||
SWIG "Enable Swig Python bindings" off
|
|
||||||
|
CYTHON_DESC= Cython Python bindings
|
||||||
|
SWIG_DESC= Swig Python bindings
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.ifdef(WITH_CYTHON)
|
.if ${PORT_OPTIONS:MCYTHON}
|
||||||
BUILD_DEPENDS+= cython:${PORTSDIR}/lang/cython
|
BUILD_DEPENDS+= cython:${PORTSDIR}/lang/cython
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
CMAKE_ARGS+= -DENABLE_CYTHON:BOOL=On
|
CMAKE_ARGS+= -DENABLE_CYTHON:BOOL=On
|
||||||
# Is this really needed?
|
|
||||||
USE_LDCONFIG+= ${PYTHON_SITELIBDIR}
|
|
||||||
PLIST_SUB+= CYTHON=""
|
PLIST_SUB+= CYTHON=""
|
||||||
.else
|
.else
|
||||||
CMAKE_ARGS+= -DENABLE_CYTHON:BOOL=Off
|
CMAKE_ARGS+= -DENABLE_CYTHON:BOOL=Off
|
||||||
PLIST_SUB+= CYTHON="@comment "
|
PLIST_SUB+= CYTHON="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.ifdef(WITH_SWIG)
|
.if ${PORT_OPTIONS:MSWIG}
|
||||||
BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13
|
BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
CMAKE_ARGS+= -DENABLE_SWIG:BOOL=On
|
CMAKE_ARGS+= -DENABLE_SWIG:BOOL=On
|
||||||
@ -59,7 +54,7 @@ pre-configure:
|
|||||||
${WRKSRC}/CMakeLists.txt
|
${WRKSRC}/CMakeLists.txt
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.ifndef(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${DOCSDIR}
|
||||||
.for f in ${PORTDOCS}
|
.for f in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# New ports collection makefile for: opengtl
|
|
||||||
# Date created: 28 September 2009
|
|
||||||
# Whom: Alberto Villa <villa.alberto@gmail.com>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= opengtl
|
PORTNAME= opengtl
|
||||||
@ -14,12 +10,9 @@ MAINTAINER= avilla@FreeBSD.org
|
|||||||
COMMENT= Graphics Transformation Languages
|
COMMENT= Graphics Transformation Languages
|
||||||
|
|
||||||
LICENSE= LGPL20
|
LICENSE= LGPL20
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
||||||
|
|
||||||
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
||||||
|
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libLLVM-3.1.so:${PORTSDIR}/devel/llvm
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libLLVM-3.1.so:${PORTSDIR}/devel/llvm
|
||||||
|
|
||||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
@ -28,13 +21,16 @@ USE_CMAKE= yes
|
|||||||
MAKE_JOBS_SAFE= yes
|
MAKE_JOBS_SAFE= yes
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
OPTIONS= SHIVA "Install filters and generators" on
|
OPTIONS_DEFINE= SHIVA
|
||||||
|
OPTIONS_DEFAULT=SHIVA
|
||||||
|
|
||||||
|
SHIVA_DESC= Install filters and generators
|
||||||
|
|
||||||
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.ifndef(WITHOUT_SHIVA)
|
.if ${PORT_OPTIONS:MSHIVA}
|
||||||
RUN_DEPENDS+= ${LOCALBASE}/share/OpenGTL/shiva/kernels/oilify.shiva:${PORTSDIR}/graphics/shiva-collections
|
RUN_DEPENDS+= ${LOCALBASE}/share/OpenGTL/shiva/kernels/oilify.shiva:${PORTSDIR}/graphics/shiva-collections
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user