- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-15 10:55:18 +00:00
parent 00bb7aa0b1
commit 4e02d83153
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333851
2 changed files with 13 additions and 29 deletions

View file

@ -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>

View file

@ -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