2004-01-09 10:09:42 +00:00
|
|
|
# New ports collection makefile for: ayttm
|
2000-03-02 09:28:24 +00:00
|
|
|
# Date created: 1 Mar 2000
|
|
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-01-09 10:09:42 +00:00
|
|
|
PORTNAME= ayttm
|
2004-02-01 14:58:34 +00:00
|
|
|
PORTVERSION= 0.4.6
|
2004-02-04 05:10:27 +00:00
|
|
|
PORTREVISION= 1
|
2000-03-02 09:28:24 +00:00
|
|
|
CATEGORIES= net
|
2004-01-09 10:09:42 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-03-02 09:28:24 +00:00
|
|
|
|
2003-12-15 01:17:29 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A "chat" program that combines AIM, ICQ, and Yahoo! Chat into one
|
2000-03-02 09:28:24 +00:00
|
|
|
|
2002-07-02 23:05:55 +00:00
|
|
|
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile \
|
2004-01-09 10:09:42 +00:00
|
|
|
jasper.4:${PORTSDIR}/graphics/jasper \
|
|
|
|
gpgme.9:${PORTSDIR}/security/gpgme \
|
|
|
|
pspell.15:${PORTSDIR}/textproc/aspell
|
2002-07-02 23:05:55 +00:00
|
|
|
|
2004-06-04 17:29:38 +00:00
|
|
|
USE_LIBLTDL= yes
|
2004-01-09 10:09:42 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GCC= 3.2
|
2000-03-02 09:28:24 +00:00
|
|
|
USE_X_PREFIX= yes
|
2002-09-03 01:06:26 +00:00
|
|
|
WANT_GNOME= yes
|
2004-02-01 14:58:34 +00:00
|
|
|
USE_GNOME= gdkpixbuf gnometarget lthack
|
2004-01-09 10:09:42 +00:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_GETOPT_LONG= yes
|
2002-07-02 23:05:55 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
2004-03-14 06:17:56 +00:00
|
|
|
USE_LIBTOOL_VER=13
|
2002-07-03 22:20:44 +00:00
|
|
|
LIBTOOLFLAGS= # none
|
2004-01-09 10:09:42 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2004-02-01 14:58:34 +00:00
|
|
|
CONFIGURE_ARGS= --enable-smtp --enable-jasper-filter
|
2000-03-02 09:28:24 +00:00
|
|
|
|
2004-01-09 10:09:42 +00:00
|
|
|
MAN1= ayttm.1
|
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
|
2000-03-02 09:28:24 +00:00
|
|
|
|
2002-07-02 23:05:55 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-03 01:06:26 +00:00
|
|
|
.if ${HAVE_GNOME:Mesound}!=""
|
|
|
|
USE_GNOME+= esound
|
|
|
|
PKGNAMESUFFIX= -esound
|
2004-01-09 10:09:42 +00:00
|
|
|
PLIST_SUB+= ESOUND=""
|
2002-07-02 23:05:55 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
2004-01-09 10:09:42 +00:00
|
|
|
PLIST_SUB+= ESOUND="@comment "
|
2002-07-02 23:05:55 +00:00
|
|
|
.endif
|
|
|
|
|
2004-01-09 10:09:42 +00:00
|
|
|
.if defined(WITH_LIBARTS)
|
|
|
|
LIB_DEPENDS+= artsc:${PORTSDIR}/audio/libarts
|
|
|
|
PLIST_SUB+= LIBARTS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-arts
|
|
|
|
PLIST_SUB+= LIBARTS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2004-07-23 19:10:32 +00:00
|
|
|
.if ${X_WINDOW_SYSTEM:L} != xfree86-3 && !defined(WITHOUT_XFT)
|
2004-03-16 22:54:05 +00:00
|
|
|
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
2004-01-09 10:09:42 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-xft
|
|
|
|
CPPFLAGS+= `freetype-config --cflags`
|
|
|
|
LDFLAGS+= `freetype-config --libs`
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG} "Ayttm has the following tunable option(s):"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} " WITHOUT_GNOME=esound Truns off EsounD support"
|
|
|
|
@${ECHO_MSG} " WITH_LIBARTS=yes Turns on libArts support"
|
|
|
|
@${ECHO_MSG} " WITHOUT_XFT=yes Turns off Xft support"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
|
|
|
|
s|-pthread|${PTHREAD_CFLAGS:S/"//g}|g' ${WRKSRC}/configure
|
2001-06-18 18:05:44 +00:00
|
|
|
|
2002-07-02 23:05:55 +00:00
|
|
|
.include <bsd.port.post.mk>
|