aboutsummaryrefslogtreecommitdiff
path: root/net-im/ayttm
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-15 10:55:18 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-15 10:55:18 +0000
commit4e02d831538c6f179c0e36775fb0dc4f68b91ba7 (patch)
tree227e320f2f5d97546215d0f75da6785e53481f94 /net-im/ayttm
parent00bb7aa0b18ee93c101233772285ae09f407b4a8 (diff)
downloadports-4e02d831538c6f179c0e36775fb0dc4f68b91ba7.tar.gz
ports-4e02d831538c6f179c0e36775fb0dc4f68b91ba7.zip
- Return maintainership back to pool
- While I'm here: - Add LICENSE - Convert to new LIB_DEPENDS format - Convert to new options helper - Remove leading indefinite article from COMMENT - Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk - Support STAGEDIR PR: ports/183942 Submitted by: Carlos Santos <unixmania@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=333851
Diffstat (limited to 'net-im/ayttm')
-rw-r--r--net-im/ayttm/Makefile41
-rw-r--r--net-im/ayttm/pkg-plist1
2 files changed, 13 insertions, 29 deletions
diff --git a/net-im/ayttm/Makefile b/net-im/ayttm/Makefile
index e3f05ce2ec8b..51365586d89c 100644
--- a/net-im/ayttm/Makefile
+++ b/net-im/ayttm/Makefile
@@ -8,15 +8,18 @@ CATEGORIES= net-im
MASTER_SITES= SF/ayttm/ayttm/${PORTVERSION:R}-${PORTVERSION:E}/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
-MAINTAINER= unixmania@gmail.com
-COMMENT= A "chat" program that combines AIM, ICQ, and Yahoo! Chat into one
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Chat program that combines AIM, ICQ, and Yahoo! Chat into one
+
+LICENSE= GPLv2
LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile \
- jasper.4:${PORTSDIR}/graphics/jasper \
+ libjasper.so:${PORTSDIR}/graphics/jasper \
libgpgme.so:${PORTSDIR}/security/gpgme \
- pspell.16:${PORTSDIR}/textproc/aspell
+ libpspell.so:${PORTSDIR}/textproc/aspell
OPTIONS_DEFINE= ESOUND AIM_TOC ICQ_TOC
+OPTIONS_SUB= yes
AIM_TOC_DESC= Include aim-toc service
ICQ_TOC_DESC= Include icq-toc service
@@ -29,33 +32,13 @@ USE_AUTOTOOLS= libltdl libtool
CONFIGURE_ARGS= --enable-oscar --disable-workwizu --enable-smtp --enable-lj \
--disable-arts
-MAN1= ayttm.1
-
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MESOUND}
-USE_GNOME+= esound
-.else
-CONFIGURE_ARGS+= --disable-esd
-.endif
-
-.if ${PORT_OPTIONS:MAIM_TOC}
-CONFIGURE_ARGS+= --enable-aim-toc
-PLIST_SUB+= AIM_TOC=""
-.else
-PLIST_SUB+= AIM_TOC="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MICQ_TOC}
-CONFIGURE_ARGS+= --enable-icq-toc
-PLIST_SUB+= ICQ_TOC=""
-.else
-PLIST_SUB+= ICQ_TOC="@comment "
-.endif
+AIM_TOC_CONFIGURE_ON= --enable-aim-toc
+ESOUND_CONFIGURE_OFF= --disable-esd
+ESOUND_USE= GNOME=esound
+ICQ_TOC_CONFIGURE_ON= --enable-icq-toc
post-patch:
@${REINPLACE_CMD} -e 's|-L/usr/local/lib||g ; \
@@ -69,4 +52,4 @@ post-patch:
's|-L/usr/local/lib/pth/||g ; \
s|-lproxy|../libproxy/libproxy.a|g' ${WRKSRC}/src/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-im/ayttm/pkg-plist b/net-im/ayttm/pkg-plist
index 21c3288fe0e3..cce39dd45ee5 100644
--- a/net-im/ayttm/pkg-plist
+++ b/net-im/ayttm/pkg-plist
@@ -112,6 +112,7 @@ share/pixmaps/buddy.png
share/pixmaps/group-chat.png
share/pixmaps/group.png
share/pixmaps/smileys.png
+man/man1/ayttm.1.gz
@dirrmtry share/applnk/Internet
@dirrmtry share/applnk
@dirrm %%DATADIR%%/sounds