1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/net-im/ayttm/Makefile
Tijl Coosemans 15c4a5ecf3 Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.
There are only 60 such ports so there doesn't need to be a separate
keyword or USES for this.

Approved by:	portmgr (bapt)
2014-09-17 07:38:15 +00:00

57 lines
1.5 KiB
Makefile

# Created by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD$
PORTNAME= ayttm
PORTVERSION= 0.6.3
PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Chat program that combines AIM, ICQ, and Yahoo! Chat into one
LICENSE= GPLv2 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile \
libltdl.so:${PORTSDIR}/devel/libltdl \
libjasper.so:${PORTSDIR}/graphics/jasper \
libgpgme.so:${PORTSDIR}/security/gpgme \
libenchant.so:${PORTSDIR}/textproc/enchant
OPTIONS_DEFINE= ESOUND YAHOO
OPTIONS_SUB= yes
YAHOO_DESC= Include Yahoo service
USES= gettext gmake iconv libtool pkgconfig shebangfix tar:bzip2
USE_XORG= xpm xscrnsaver
USE_GNOME= gtk20
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-oscar --disable-workwizu --enable-smtp --enable-lj \
--disable-arts
SHEBANG_FILES= ${WRKSRC}/modules/image_filter/ayttm_streamer_wrapper
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
ESOUND_CONFIGURE_ENABLE= esd
ESOUND_USE= GNOME=esound
YAHOO_LIB_DEPENDS= libyahoo2.so:${PORTSDIR}/net-im/libyahoo2
YAHOO_CONFIGURE_ENABLE= yahoo
post-patch:
@${REINPLACE_CMD} -e \
's|-Wl,--no-add-needed|| ; \
s|-L/usr/local/lib|| ; \
s|-lpthread|-pthread| ; \
/LIBS=/s|-L/usr/X11R6/lib||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|/gnome/apps/Internet|/applications|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|-L/usr/local/lib/pth/||' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>