aboutsummaryrefslogtreecommitdiff
path: root/net-im/pidgin-libnotify/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/pidgin-libnotify/Makefile')
-rw-r--r--net-im/pidgin-libnotify/Makefile34
1 files changed, 10 insertions, 24 deletions
diff --git a/net-im/pidgin-libnotify/Makefile b/net-im/pidgin-libnotify/Makefile
index 8499ea79f09f..4c4547d7b610 100644
--- a/net-im/pidgin-libnotify/Makefile
+++ b/net-im/pidgin-libnotify/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libnotify
PORTVERSION= 0.14
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= net-im
MASTER_SITES= SF/gaim-${PORTNAME}/pidgin-${PORTNAME}/pidgin-${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= pidgin-
@@ -14,35 +14,21 @@ COMMENT= This plugin adds a libnotify interface to Pidgin
BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin \
${LOCALBASE}/libdata/pkgconfig/libnotify.pc:${PORTSDIR}/devel/libnotify
-LIB_DEPENDS= notify.4:${PORTSDIR}/devel/libnotify \
- purple.10:${PORTSDIR}/net-im/libpurple
+LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify \
+ libpurple.so:${PORTSDIR}/net-im/libpurple
GNU_CONFIGURE= yes
+USES= gmake libtool pkgconfig
USE_LDCONFIG= yes
-USE_GMAKE= yes
USE_GNOME= gtk20
-USES= pkgconfig
-
-NO_STAGE= yes
-
-OPTIONS_DEFINE= NLS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
-
-CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ARGS= --disable-static
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
-post-patch:
- @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext
.include <bsd.port.mk>