aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2015-06-30 22:53:28 +0000
committerAlberto Villa <avilla@FreeBSD.org>2015-06-30 22:53:28 +0000
commit83bc10e3e1a106cc4d440e36489dac48d85f9510 (patch)
tree55b81c1bef21cd884b881adfb847637f62ec3651 /accessibility
parentbd3f1e29a9e78781e39b0a58d3414668d0590c3c (diff)
downloadports-83bc10e3e1a106cc4d440e36489dac48d85f9510.tar.gz
ports-83bc10e3e1a106cc4d440e36489dac48d85f9510.zip
Notes
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/speech-dispatcher/Makefile21
-rw-r--r--accessibility/speech-dispatcher/pkg-plist4
2 files changed, 5 insertions, 20 deletions
diff --git a/accessibility/speech-dispatcher/Makefile b/accessibility/speech-dispatcher/Makefile
index 8291bc928eeb..bd623ec8d34c 100644
--- a/accessibility/speech-dispatcher/Makefile
+++ b/accessibility/speech-dispatcher/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libdotconf.so:${PORTSDIR}/devel/dotconf \
libsndfile.so:${PORTSDIR}/audio/libsndfile
USE_GNOME= glib20 intltool
-USES= alias gmake pathfix pkgconfig libtool
+USES= alias gettext gmake pathfix pkgconfig libtool
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -33,9 +33,9 @@ ETCFILES= clients/emacs.conf modules/pico-generic.conf \
PORTDOCS= ANNOUNCE AUTHORS ChangeLog FAQ NEWS README TODO
-INFO= spd-say speech-dispatcher ssip
+INFO= spd-say speech-dispatcher speech-dispatcher-cs ssip
-OPTIONS_DEFINE= ALSA AO DOCS ESPEAK FESTIVAL FLITE NAS NLS \
+OPTIONS_DEFINE= ALSA AO DOCS ESPEAK FESTIVAL FLITE NAS \
PULSEAUDIO PYTHON
OPTIONS_DEFAULT=ESPEAK
OPTIONS_SUB= yes
@@ -61,8 +61,6 @@ FLITE_CONFIGURE_WITH= flite
NAS_LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas
NAS_CONFIGURE_WITH= nas
-NLS_USES= gettext
-
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_WITH=pulse
@@ -71,19 +69,9 @@ PYTHON_USES= python:3
PYTHON_USE= PYTHON=py3kplist
PYTHON_CONFIGURE_ENABLE=python
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-INFO+= speech-dispatcher-cs
-.endif
-
post-patch:
@${REINPLACE_CMD} -e '/SUBDIRS/ s/tests//' \
${WRKSRC}/src/Makefile.in
-.if ! ${PORT_OPTIONS:MNLS}
- @${REINPLACE_CMD} -e '/SUBDIRS/ s/po//' \
- ${WRKSRC}/Makefile.in
-.endif
post-install:
.for f in ${ETCFILES}
@@ -93,8 +81,5 @@ post-install:
@${RMDIR} ${STAGEDIR}${DATADIR} || ${TRUE}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.if ! ${PORT_OPTIONS:MNLS}
- @${RM} -f ${STAGEDIR}${PREFIX}/${INFO_PATH}/speech-dispatcher-cs.info
-.endif
.include <bsd.port.mk>
diff --git a/accessibility/speech-dispatcher/pkg-plist b/accessibility/speech-dispatcher/pkg-plist
index 4e48c1c973df..e6ed617cb43f 100644
--- a/accessibility/speech-dispatcher/pkg-plist
+++ b/accessibility/speech-dispatcher/pkg-plist
@@ -64,7 +64,7 @@ lib/speech-dispatcher/spd_oss.so
%%PULSEAUDIO%%lib/speech-dispatcher/spd_pulse.a
%%PULSEAUDIO%%lib/speech-dispatcher/spd_pulse.so
libdata/pkgconfig/speech-dispatcher.pc
-%%NLS%%share/locale/cs/LC_MESSAGES/speech-dispatcher.mo
-%%NLS%%share/locale/hu/LC_MESSAGES/speech-dispatcher.mo
+share/locale/cs/LC_MESSAGES/speech-dispatcher.mo
+share/locale/hu/LC_MESSAGES/speech-dispatcher.mo
share/sounds/speech-dispatcher/dummy-message.wav
%%PYTHON%%share/sounds/speech-dispatcher/test.wav