1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/net-im/ayttm/Makefile
Eric Anholt 4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00

82 lines
2.0 KiB
Makefile

# New ports collection makefile for: ayttm
# Date created: 1 Mar 2000
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ayttm
PORTVERSION= 0.4.6
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A "chat" program that combines AIM, ICQ, and Yahoo! Chat into one
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile \
jasper.4:${PORTSDIR}/graphics/jasper \
gpgme.9:${PORTSDIR}/security/gpgme \
pspell.15:${PORTSDIR}/textproc/aspell
USE_LIBLTDL= yes
USE_BZIP2= yes
USE_GCC= 3.2
USE_X_PREFIX= yes
WANT_GNOME= yes
USE_GNOME= gdkpixbuf gnometarget lthack
USE_OPENSSL= yes
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=13
LIBTOOLFLAGS= # none
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-smtp --enable-jasper-filter
MAN1= ayttm.1
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mesound}!=""
USE_GNOME+= esound
PKGNAMESUFFIX= -esound
PLIST_SUB+= ESOUND=""
.else
CONFIGURE_ARGS+= --disable-esd
PLIST_SUB+= ESOUND="@comment "
.endif
.if defined(WITH_LIBARTS)
LIB_DEPENDS+= artsc:${PORTSDIR}/audio/libarts
PLIST_SUB+= LIBARTS=""
.else
CONFIGURE_ARGS+= --disable-arts
PLIST_SUB+= LIBARTS="@comment "
.endif
.if ${X_WINDOW_SYSTEM:L} != xfree86-3 && !defined(WITHOUT_XFT)
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
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
.include <bsd.port.post.mk>