From 4e02d831538c6f179c0e36775fb0dc4f68b91ba7 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 15 Nov 2013 10:55:18 +0000 Subject: [PATCH] - 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 (maintainer) --- net-im/ayttm/Makefile | 41 ++++++++++++----------------------------- net-im/ayttm/pkg-plist | 1 + 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 - -.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 +.include 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