summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-01-18 11:29:44 +0000
committerwiz <wiz@pkgsrc.org>2009-01-18 11:29:44 +0000
commitfcc0148858ea6d46356f47e74c96c5ff105d0538 (patch)
treec1a1dfd65fb3b1a08547a52b0e87336c46865e0b /audio
parent9e2a321b793680a859af06bad143bd48ccead626 (diff)
downloadpkgsrc-fcc0148858ea6d46356f47e74c96c5ff105d0538.tar.gz
Split off most variables into Makefile.common, to be used by
gnome-speech-espeak as well, to avoid updating one and not the other.
Diffstat (limited to 'audio')
-rw-r--r--audio/gnome-speech/Makefile24
-rw-r--r--audio/gnome-speech/Makefile.common31
2 files changed, 33 insertions, 22 deletions
diff --git a/audio/gnome-speech/Makefile b/audio/gnome-speech/Makefile
index 02e16321617..f7d13d8c6d5 100644
--- a/audio/gnome-speech/Makefile
+++ b/audio/gnome-speech/Makefile
@@ -1,29 +1,9 @@
-# $NetBSD: Makefile,v 1.42 2008/11/16 17:24:40 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2009/01/18 11:29:44 wiz Exp $
#
-DISTNAME= gnome-speech-0.4.22
-CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-speech/0.4/}
-EXTRACT_SUFX= .tar.bz2
+.include "Makefile.common"
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME 2 text-to-speech API
-PKG_DESTDIR_SUPPORT= user-destdir
-
-USE_TOOLS+= gmake msgfmt pkg-config
-USE_PKGLOCALEDIR= yes
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-
-# Disable Java support.
-CONFIGURE_ARGS+= JAVAC=no JAVA=no IDLJ=no JAB=no
-
-PKGCONFIG_OVERRIDE+= gnome-speech-1.0.pc.in
-
-.include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/libbonobo/buildlink3.mk"
-.include "../../net/ORBit2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/gnome-speech/Makefile.common b/audio/gnome-speech/Makefile.common
new file mode 100644
index 00000000000..264db3d68f2
--- /dev/null
+++ b/audio/gnome-speech/Makefile.common
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile.common,v 1.1 2009/01/18 11:29:44 wiz Exp $
+#
+# used by audio/gnome-speech/Makefile
+# used by audio/gnome-speech-espeak/Makefile
+
+DISTNAME= gnome-speech-0.4.22
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-speech/0.4/}
+EXTRACT_SUFX= .tar.bz2
+
+HOMEPAGE= http://www.gnome.org/
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PATCHDIR= ${.CURDIR}/../gnome-speech/patches
+DISTINFO_FILE= ${.CURDIR}/../gnome-speech/distinfo
+
+USE_TOOLS+= gmake msgfmt pkg-config
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+# Disable Java support.
+CONFIGURE_ARGS+= JAVAC=no JAVA=no IDLJ=no JAB=no
+
+PKGCONFIG_OVERRIDE+= gnome-speech-1.0.pc.in
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libbonobo/buildlink3.mk"
+.include "../../net/ORBit2/buildlink3.mk"