| @@ -1,35 +1,45 @@ | | | @@ -1,35 +1,45 @@ |
1 | # $NetBSD: Makefile,v 1.4 2008/11/13 23:45:47 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2008/12/20 20:29:42 jmcneill Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ekiga-3.0.1 | | 4 | DISTNAME= ekiga-3.0.1 |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 3 |
6 | CATEGORIES= net comms | | 6 | CATEGORIES= net comms |
7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ekiga/3.0/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ekiga/3.0/} |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.ekiga.org/ | | 11 | HOMEPAGE= http://www.ekiga.org/ |
12 | COMMENT= VoIP and video conferencing application for GNOME | | 12 | COMMENT= VoIP and video conferencing application for GNOME |
13 | | | 13 | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
15 | | | 15 | |
16 | USE_DIRS+= gnome2-1.5 | | 16 | USE_DIRS+= gnome2-1.5 |
17 | USE_TOOLS+= gmake intltool msgfmt pkg-config | | 17 | USE_TOOLS+= gmake intltool msgfmt pkg-config |
18 | USE_PKGLOCALEDIR= yes | | 18 | USE_PKGLOCALEDIR= yes |
19 | | | 19 | |
20 | CONFIGURE_ARGS+= --disable-avahi | | | |
21 | CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap-client:Q} | | 20 | CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap-client:Q} |
22 | | | 21 | |
| | | 22 | PKG_OPTIONS_VAR= PKG_OPTIONS.ekiga |
| | | 23 | PKG_SUPPORTED_OPTIONS+= avahi |
| | | 24 | PKG_SUGGESTED_OPTIONS+= avahi |
| | | 25 | .include "../../mk/bsd.options.mk" |
| | | 26 | |
| | | 27 | .if !empty(PKG_OPTIONS:Mavahi) |
| | | 28 | .include "../../net/avahi/buildlink3.mk" |
| | | 29 | .else |
| | | 30 | CONFIGURE_ARGS+= --disable-avahi |
| | | 31 | .endif |
| | | 32 | |
23 | GCONF_SCHEMAS= ekiga.schemas | | 33 | GCONF_SCHEMAS= ekiga.schemas |
24 | | | 34 | |
25 | GNU_CONFIGURE= yes | | 35 | GNU_CONFIGURE= yes |
26 | USE_LIBTOOL= yes | | 36 | USE_LIBTOOL= yes |
27 | USE_LANGUAGES= c c++ | | 37 | USE_LANGUAGES= c c++ |
28 | | | 38 | |
29 | .include "../../audio/esound/buildlink3.mk" | | 39 | .include "../../audio/esound/buildlink3.mk" |
30 | .include "../../databases/openldap-client/buildlink3.mk" | | 40 | .include "../../databases/openldap-client/buildlink3.mk" |
31 | .include "../../devel/GConf/schemas.mk" | | 41 | .include "../../devel/GConf/schemas.mk" |
32 | .include "../../devel/SDL/buildlink3.mk" | | 42 | .include "../../devel/SDL/buildlink3.mk" |
33 | .include "../../devel/gettext-lib/buildlink3.mk" | | 43 | .include "../../devel/gettext-lib/buildlink3.mk" |
34 | .include "../../devel/glib2/buildlink3.mk" | | 44 | .include "../../devel/glib2/buildlink3.mk" |
35 | .include "../../devel/libgnome/buildlink3.mk" | | 45 | .include "../../devel/libgnome/buildlink3.mk" |