svn commit: r333851 - head/net-im/ayttm

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Nov 15 10:55:19 UTC 2013


Author: sunpoet
Date: Fri Nov 15 10:55:18 2013
New Revision: 333851
URL: http://svnweb.freebsd.org/changeset/ports/333851

Log:
  - 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 at gmail.com> (maintainer)

Modified:
  head/net-im/ayttm/Makefile
  head/net-im/ayttm/pkg-plist   (contents, props changed)

Modified: head/net-im/ayttm/Makefile
==============================================================================
--- head/net-im/ayttm/Makefile	Fri Nov 15 10:44:29 2013	(r333850)
+++ head/net-im/ayttm/Makefile	Fri Nov 15 10:55:18 2013	(r333851)
@@ -8,15 +8,18 @@ CATEGORIES=	net-im
 MASTER_SITES=	SF/ayttm/ayttm/${PORTVERSION:R}-${PORTVERSION:E}/
 DISTNAME=	${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
 
-MAINTAINER=	unixmania at gmail.com
-COMMENT=	A "chat" program that combines AIM, ICQ, and Yahoo! Chat into one
+MAINTAINER=	ports at 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>

Modified: head/net-im/ayttm/pkg-plist
==============================================================================
--- head/net-im/ayttm/pkg-plist	Fri Nov 15 10:44:29 2013	(r333850)
+++ head/net-im/ayttm/pkg-plist	Fri Nov 15 10:55:18 2013	(r333851)
@@ -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


More information about the svn-ports-all mailing list