aboutsummaryrefslogtreecommitdiff
path: root/net-im/pidgin-msn-pecan
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2008-09-02 15:15:33 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2008-09-02 15:15:33 +0000
commit924ae196d62bce0a1ec33bea262357b8126f3d93 (patch)
tree8a81ff7390995497b2d394a14f89de731af8610e /net-im/pidgin-msn-pecan
parent694a4d9f5e44174814c7065fa3db215b61ee7a3c (diff)
downloadports-924ae196d62bce0a1ec33bea262357b8126f3d93.tar.gz
ports-924ae196d62bce0a1ec33bea262357b8126f3d93.zip
Notes
Diffstat (limited to 'net-im/pidgin-msn-pecan')
-rw-r--r--net-im/pidgin-msn-pecan/Makefile9
-rw-r--r--net-im/pidgin-msn-pecan/distinfo6
-rw-r--r--net-im/pidgin-msn-pecan/files/patch-Makefile26
-rw-r--r--net-im/pidgin-msn-pecan/pkg-plist8
4 files changed, 38 insertions, 11 deletions
diff --git a/net-im/pidgin-msn-pecan/Makefile b/net-im/pidgin-msn-pecan/Makefile
index efe6091bc7b0..e95f2accb80b 100644
--- a/net-im/pidgin-msn-pecan/Makefile
+++ b/net-im/pidgin-msn-pecan/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= msn-pecan
-PORTVERSION= 0.0.14
-PORTREVISION= 1
+PORTVERSION= 0.0.15
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= pidgin-
-MAINTAINER= hrkfrd@gmail.com
+MAINTAINER= hrkfrd@googlemail.com
COMMENT= Alternative MSN protocol plugin for libpurple
LIB_DEPENDS= purple.5:${PORTSDIR}/net-im/libpurple
@@ -21,7 +20,9 @@ PROJECTHOST= msn-pecan
USE_BZIP2= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
+USE_GETTEXT= yes
-PLIST_FILES= lib/purple-2/libmsn-pecan.so
+post-install:
+ ${GMAKE} -C ${WRKSRC} install_locales
.include <bsd.port.mk>
diff --git a/net-im/pidgin-msn-pecan/distinfo b/net-im/pidgin-msn-pecan/distinfo
index d18e94eb7bea..62b224c47b0f 100644
--- a/net-im/pidgin-msn-pecan/distinfo
+++ b/net-im/pidgin-msn-pecan/distinfo
@@ -1,3 +1,3 @@
-MD5 (msn-pecan-0.0.14.tar.bz2) = e2e31a797e867654df055f3d8abad32a
-SHA256 (msn-pecan-0.0.14.tar.bz2) = a656ec6a160bbc8a3340ad1204b17c64466dcae8c6ce8cde3faa7f6e4c4f39ca
-SIZE (msn-pecan-0.0.14.tar.bz2) = 88122
+MD5 (msn-pecan-0.0.15.tar.bz2) = bc04bc322cdaf9ddcbc1604c1d20b47a
+SHA256 (msn-pecan-0.0.15.tar.bz2) = cac47e053e189adc963e03c5e02ae4b2ecf11f01b9804e5ee2b5e6b07fdb5e4d
+SIZE (msn-pecan-0.0.15.tar.bz2) = 114981
diff --git a/net-im/pidgin-msn-pecan/files/patch-Makefile b/net-im/pidgin-msn-pecan/files/patch-Makefile
index 18ff51bc88ce..3bbc36afbfab 100644
--- a/net-im/pidgin-msn-pecan/files/patch-Makefile
+++ b/net-im/pidgin-msn-pecan/files/patch-Makefile
@@ -1,11 +1,29 @@
---- _Makefile 2008-08-03 20:08:19.000000000 +0000
-+++ Makefile 2008-08-03 20:08:29.000000000 +0000
-@@ -32,7 +32,7 @@
+--- Makefile.orig 2008-08-29 06:15:22.000000000 +0800
++++ Makefile 2008-09-01 03:46:46.000000000 +0800
+@@ -27,16 +27,16 @@
+ OTHER_WARNINGS=-D_FORTIFY_SOURCE=2 -fstack-protector -g3 -Wdisabled-optimization \
+ -Wendif-labels -Wformat=2 -Wstack-protector -Wswitch
+
+-CFLAGS+=-Wall # $(EXTRA_WARNINGS)
++CFLAGS+=-Wall -I/usr/local/include # $(EXTRA_WARNINGS)
+
+ override CFLAGS+=-I. -D PACKAGE='"msn-pecan"' -DENABLE_NLS -DHAVE_LIBPURPLE -DPURPLE_DEBUG -D PLUGIN_NAME='msn-pecan'
+
# For glib < 2.6 support (libpurple maniacs)
FALLBACK_CFLAGS+=-I./fix_purple
-LDFLAGS:=-Wl,--no-undefined
-+LDFLAGS:=-Wl,--no-undefined,-lc
++LDFLAGS:=-Wl,--no-undefined,-lintl
+
+-DATA_DIR=/usr/share
++DATA_DIR=/usr/local/share
purpledir=$(DESTDIR)/$(PURPLE_PREFIX)/lib/purple-2
+@@ -180,5 +180,5 @@
+
+ install_locales: $(foreach e,$(CATALOGS),po/libmsn-pecan-$(e).mo)
+ for x in $(CATALOGS); do \
+- install po/libmsn-pecan-$$x.mo $(DATA_DIR)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \
++ install -m 444 po/libmsn-pecan-$$x.mo $(DATA_DIR)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \
+ done
diff --git a/net-im/pidgin-msn-pecan/pkg-plist b/net-im/pidgin-msn-pecan/pkg-plist
new file mode 100644
index 000000000000..7000be6d0238
--- /dev/null
+++ b/net-im/pidgin-msn-pecan/pkg-plist
@@ -0,0 +1,8 @@
+lib/purple-2/libmsn-pecan.so
+share/locale/nl/LC_MESSAGES/libmsn-pecan.mo
+share/locale/fi/LC_MESSAGES/libmsn-pecan.mo
+share/locale/fr/LC_MESSAGES/libmsn-pecan.mo
+share/locale/it/LC_MESSAGES/libmsn-pecan.mo
+share/locale/sr/LC_MESSAGES/libmsn-pecan.mo
+share/locale/es/LC_MESSAGES/libmsn-pecan.mo
+share/locale/sv/LC_MESSAGES/libmsn-pecan.mo