blob: 9d157cb8f675ccdba5e321c9750b75bf6e27f8f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# New ports collection makefile for: ayttm
# Date created: 1 Mar 2000
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ayttm
PORTVERSION= 0.4.6.17
PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
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 \
gpgme03.9:${PORTSDIR}/security/gpgme03 \
pspell.16:${PORTSDIR}/textproc/aspell
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_BZIP2= yes
USE_GCC= 3.4
USE_X_PREFIX= yes
WANT_GNOME= yes
USE_GNOME= gdkpixbuf gnometarget
USE_OPENSSL= yes
USE_GETOPT_LONG= yes
USE_AUTOTOOLS= libltdl:15
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
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; \
s|gpgme-config|gpgme03-config|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|= pixmaps|=|g ; \
s|^Utilities|#Utilities|g ; \
s|^gnome|#gnome|g' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
|