ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/irc/xchat/Makefile
(Generate patch)

Comparing trunk/irc/xchat/Makefile (file contents):
Revision 13253 by laffer1, Mon Feb 18 02:53:04 2013 UTC vs.
Revision 15212 by laffer1, Sun Aug 18 22:41:51 2013 UTC

# Line 1 | Line 1
1 < # $MidnightBSD: mports/irc/xchat/Makefile,v 1.14 2011/01/15 02:53:12 laffer1 Exp $
1 > # $MidnightBSD: mports/irc/xchat/Makefile,v 1.15 2013/02/18 02:53:04 laffer1 Exp $
2  
3   PORTNAME=       xchat
4   PORTVERSION=    2.8.8
5 + PORTREVISION=   1
6   CATEGORIES=     irc gnome ipv6
7   MASTER_SITES=   SF/${PORTNAME}/ \
8                  http://xchat.org/files/source/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
9  
10   MAINTAINER=     ports@MidnightBSD.org
11 < COMMENT=        An X11 IRC client using the GTK+ 2 toolkit
11 > COMMENT=        X11 IRC client using the GTK+ 2 toolkit
12 >
13   LICENSE=        gpl2
14  
15   CONFLICTS=      xchat-1* xchat-systray-plugin-[0-9]*
16  
15 LIB_DEPENDS+=   gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
16
17   USE_BZIP2=      yes
18   USE_GMAKE=      yes
19 < USE_GETTEXT=    yes
19 > USES=           gettext
20   USE_GNOME=      gnomehack gtk20
21   GNU_CONFIGURE=  yes
22 < CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
23 <                LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
22 > CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
23 > CPPFLAGS+=      -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
24   CONFIGURE_ARGS= --enable-ipv6
25   WANT_PERL=      yes
26  
27 < OPTIONS=        DBUS "Enable DBUS support" on \
28 <                GTKSPELL "Enable spell check support using gtkspell" on \
29 <                LIBSEXY "Enable spell check support using libsexy" off \
30 <                NOTIFY "Depend on libnotify for notifications" off \
31 <                PERL "Enable Perl support" on \
32 <                PYTHON "Enable Python support" off \
33 <                TCL "Enable TCL support" off \
34 <                SOCKS "Build with socks5 support" off
27 > OPTIONS_DEFINE= DBUS NOTIFY PERL PYTHON SOCKS TCL
28 > OPTIONS_DEFAULT=DBUS GTKSPELL PERL
29 > OPTIONS_RADIO=  SPELL
30 > OPTIONS_RADIO_SPELL=    GTKSPELL LIBSEXY
31 > GTKSPELL_DESC=  Spell check support via gtkspell
32 > LIBSEXY_DESC=   Spell check support via libsexy
33  
34 + .if defined(WITH_PYTHON)
35 + .endif
36 +
37   .include <bsd.mport.options.mk>
38  
39 < .if !defined(WITHOUT_DBUS)
40 < LIB_DEPENDS+=   dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
39 > .if ${PORT_OPTIONS:MDBUS}
40 > LIB_DEPENDS+=   dbus-glib-1:${PORTSDIR}/devel/dbus-glib
41   CONFIGURE_ARGS+=--enable-dbus
42   USE_GNOME+=     gconf2
43   GCONF_SCHEMAS+= apps_xchat_url_handler.schemas
# Line 46 | Line 47 | CONFIGURE_ARGS+=--disable-dbus
47   PLIST_SUB+=     DBUS="@comment "
48   .endif
49  
50 < .if defined(WITH_GTKSPELL)
51 < .if defined(WITH_LIBSEXY)
51 < BROKEN=         You can select only one of GTKSPELL and LIBSEXY for spell check support
52 < .endif
53 < LIB_DEPENDS+=   gtkspell.0:${PORTSDIR}/textproc/gtkspell
50 > .if ${PORT_OPTIONS:MGTKSPELL}
51 > LIB_DEPENDS+=   gtkspell:${PORTSDIR}/textproc/gtkspell
52   CONFIGURE_ARGS+=--enable-spell=gtkspell
53 < .endif
54 <
57 < .if defined(WITH_LIBSEXY)
58 < .if defined(WITH_GTKSPELL)
59 < BROKEN=         You can select only one of GTKSPELL and LIBSEXY for spell check support
60 < .endif
61 < LIB_DEPENDS+=   sexy.2:${PORTSDIR}/x11-toolkits/libsexy
53 > .elif ${PORT_OPTIONS:MLIBSEXY}
54 > LIB_DEPENDS+=   sexy:${PORTSDIR}/x11-toolkits/libsexy
55   CONFIGURE_ARGS+=--enable-spell=libsexy
56 < .endif
64 <
65 < .if !defined(WITH_GTKSPELL) && !defined(WITH_LIBSEXY)
56 > .else
57   CONFIGURE_ARGS+=--enable-spell=none
58   .endif
59  
60 < .if defined(WITH_NOTIFY)
60 > .if ${PORT_OPTIONS:MNOTIFY}
61   RUN_DEPENDS+=   notify-send:${PORTSDIR}/devel/libnotify \
62                  ${LOCALBASE}/libexec/notification-daemon:${PORTSDIR}/deskutils/notification-daemon
63   .endif
64  
65 < .if defined(WITHOUT_PERL)
75 < CONFIGURE_ARGS+=--disable-perl
76 < PLIST_SUB+=     PERL="@comment "
77 < .else
65 > .if ${PORT_OPTIONS:MPERL}
66   USE_PERL5=      yes
67   CONFIGURE_ARGS+=--enable-perl
68   PLIST_SUB+=     PERL=""
69 + .else
70 + CONFIGURE_ARGS+=--disable-perl
71 + PLIST_SUB+=     PERL="@comment "
72   .endif
73  
74 < .if defined(WITH_PYTHON)
84 < EXTENSIONS+=    python
74 > .if ${PORT_OPTIONS:MPYTHON}
75   USE_PYTHON=     yes
76   CONFIGURE_ARGS+=--enable-python
77   PLIST_SUB+=     PYTHON=""
# Line 90 | Line 80 | CONFIGURE_ARGS+=--disable-python
80   PLIST_SUB+=     PYTHON="@comment "
81   .endif
82  
83 < .if defined(WITH_TCL)
84 < EXTENSIONS+=    tcl
85 < LIB_DEPENDS+=   tcl84.1:${PORTSDIR}/lang/tcl84
86 < CONFIGURE_ARGS+=--enable-tcl=${LOCALBASE}/lib/tcl8.4
87 < CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
88 <                -I${LOCALBASE}/include/tcl8.4" \
89 <                LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} \
90 <                -L${LOCALBASE}/lib/tcl8.4"
83 > .if ${PORT_OPTIONS:MSOCKS}
84 > LIB_DEPENDS+=   socks:${PORTSDIR}/net/dante
85 > CONFIGURE_ARGS+=--enable-socks
86 > .endif
87 >
88 > .if ${PORT_OPTIONS:MTCL}
89 > USE_TCL=        84+
90 > CONFIGURE_ARGS+=--enable-tcl=${TCL_LIBDIR}
91 > CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} \
92 >                -L${TCL_LIBDIR}"
93 > CPPFLAGS+=      -I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
94 >                -I${TCL_INCLUDEDIR}
95   PLIST_SUB+=     TCL=""
96   .else
97   CONFIGURE_ARGS+=--enable-tcl=no
98   PLIST_SUB+=     TCL="@comment "
99   .endif
100  
107 .if defined(WITH_SOCKS)
108 ONLY_FOR_ARCHS= i386
109 BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
110 CONFIGURE_ARGS+=--enable-socks
111 .endif
112
113
114 .include <bsd.port.pre.mk>
115
101   post-patch:
102          @${REINPLACE_CMD} -E -e 's|PY_LIBS=.*|PY_LIBS="-L\$$PY_EXEC_PREFIX/lib/python\$$PY_VER/config -lpython\$$PY_VER ${PTHREAD_LIBS} -lutil"|' \
103                  ${WRKSRC}/configure
104 +        @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
105 +                ${WRKSRC}/src/common/*.[ch]
106  
107   # Create plugins directory even when no plugins are installed
108   post-install:
109          @${MKDIR} ${PREFIX}/lib/xchat/plugins
110  
111 < .include <bsd.port.post.mk>
111 > .include <bsd.port.mk>

Comparing trunk/irc/xchat/Makefile (property cvs2svn:cvs-rev):
Revision 13253 by laffer1, Mon Feb 18 02:53:04 2013 UTC vs.
Revision 15212 by laffer1, Sun Aug 18 22:41:51 2013 UTC

# Line 1 | Line 1
1 < 1.15
1 > 1.16

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines