aboutsummaryrefslogtreecommitdiff
path: root/net-im/ayttm
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/ayttm')
-rw-r--r--net-im/ayttm/Makefile26
-rw-r--r--net-im/ayttm/distinfo6
-rw-r--r--net-im/ayttm/pkg-plist24
3 files changed, 36 insertions, 20 deletions
diff --git a/net-im/ayttm/Makefile b/net-im/ayttm/Makefile
index 88ba714c2478..a7e98fb5d283 100644
--- a/net-im/ayttm/Makefile
+++ b/net-im/ayttm/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ayttm
-PORTVERSION= 0.5.0.45
-PORTREVISION= 1
+PORTVERSION= 0.5.0.82
CATEGORIES= net-im
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
@@ -20,8 +19,10 @@ LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile \
gpgme.17:${PORTSDIR}/security/gpgme \
pspell.16:${PORTSDIR}/textproc/aspell
-OPTIONS= ARTS "Enable aRts support" off \
- ESOUND "Enable EsounD support" off
+OPTIONS= ARTS "Enable aRts support" off \
+ ESOUND "Enable EsounD support" off \
+ AIM_TOC "Include aim-toc service" off \
+ ICQ_TOC "Include icq-toc service" off
USE_BZIP2= yes
USE_XORG= xpm xscrnsaver
@@ -51,6 +52,20 @@ USE_GNOME+= esound
CONFIGURE_ARGS+= --disable-esd
.endif
+.if defined(WITH_AIM_TOC)
+CONFIGURE_ARGS+= --enable-aim-toc
+PLIST_SUB+= AIM_TOC=""
+.else
+PLIST_SUB+= AIM_TOC="@comment "
+.endif
+
+.if defined(WITH_ICQ_TOC)
+CONFIGURE_ARGS+= --enable-icq-toc
+PLIST_SUB+= ICQ_TOC=""
+.else
+PLIST_SUB+= ICQ_TOC="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-L/usr/local/lib||g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
@@ -63,4 +78,7 @@ post-patch:
's|-L/usr/local/lib/pth/||g ; \
s|-lproxy|../libproxy/libproxy.a|g' ${WRKSRC}/src/Makefile.in
+post-build:
+ @${ECHO} 'Categories=Application;Network;' >> ${WRKSRC}/ayttm.desktop
+
.include <bsd.port.post.mk>
diff --git a/net-im/ayttm/distinfo b/net-im/ayttm/distinfo
index 8fd5a3a4119f..d8b8fdf98265 100644
--- a/net-im/ayttm/distinfo
+++ b/net-im/ayttm/distinfo
@@ -1,3 +1,3 @@
-MD5 (ayttm-0.5.0-45.tar.bz2) = b609a148cd36ecb219c2b3f1513bfbd0
-SHA256 (ayttm-0.5.0-45.tar.bz2) = 4c732c742205f04023b09c2a884ace558ec2bd58ddcf3e9db1bd56395cbc48b9
-SIZE (ayttm-0.5.0-45.tar.bz2) = 1408451
+MD5 (ayttm-0.5.0-82.tar.bz2) = 6646c6ae40b26edad75c0f07903a537b
+SHA256 (ayttm-0.5.0-82.tar.bz2) = 6c889fef0c0bd18b6517f4655eaa1e7915d746c18a332b8a6ad7260a371f94bd
+SIZE (ayttm-0.5.0-82.tar.bz2) = 1569698
diff --git a/net-im/ayttm/pkg-plist b/net-im/ayttm/pkg-plist
index 7256a896b90b..e3431b924ff5 100644
--- a/net-im/ayttm/pkg-plist
+++ b/net-im/ayttm/pkg-plist
@@ -1,18 +1,12 @@
bin/ayttm
bin/ayttm_streamer_wrapper.sh
etc/ayttmrc
-include/ayttm/yahoo2.h
-include/ayttm/yahoo2_callbacks.h
-include/ayttm/yahoo2_types.h
-include/ayttm/yahoo_fn.h
-include/ayttm/yahoo_httplib.h
-include/ayttm/yahoo_list.h
lib/ayttm/aim-oscar.a
lib/ayttm/aim-oscar.la
lib/ayttm/aim-oscar.so
-lib/ayttm/aim-toc.a
-lib/ayttm/aim-toc.la
-lib/ayttm/aim-toc.so
+%%AIM_TOC%%lib/ayttm/aim-toc.a
+%%AIM_TOC%%lib/ayttm/aim-toc.la
+%%AIM_TOC%%lib/ayttm/aim-toc.so
lib/ayttm/autotrans.a
lib/ayttm/autotrans.la
lib/ayttm/autotrans.so
@@ -22,9 +16,9 @@ lib/ayttm/aycryption.so
lib/ayttm/custmsg.a
lib/ayttm/custmsg.la
lib/ayttm/custmsg.so
-lib/ayttm/icq-toc.a
-lib/ayttm/icq-toc.la
-lib/ayttm/icq-toc.so
+%%ICQ_TOC%%lib/ayttm/icq-toc.a
+%%ICQ_TOC%%lib/ayttm/icq-toc.la
+%%ICQ_TOC%%lib/ayttm/icq-toc.so
lib/ayttm/img2jpc.a
lib/ayttm/img2jpc.la
lib/ayttm/img2jpc.so
@@ -112,7 +106,12 @@ share/applnk/Internet/ayttm.desktop
%%DATADIR%%/sounds/BuddyLeave.au
%%DATADIR%%/sounds/Receive.au
%%DATADIR%%/sounds/Send.au
+share/pixmaps/away.png
share/pixmaps/ayttm.png
+share/pixmaps/buddy.png
+share/pixmaps/group-chat.png
+share/pixmaps/group.png
+share/pixmaps/smileys.png
@dirrmtry share/applnk/Internet
@dirrmtry share/applnk
@dirrmtry share/applications
@@ -122,4 +121,3 @@ share/pixmaps/ayttm.png
@dirrm %%DATADIR%%/smileys
@dirrm %%DATADIR%%
@dirrm lib/ayttm
-@dirrm include/ayttm