aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/amsn/Makefile
blob: 48a251e3e946b19dda85aaa20d813509109e4244 (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
# New ports collection makefile for:    amsn
# Date created:     01 Feb 2003
# Whom:         Andreas Klemm <andreas@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   amsn
PORTVERSION=    0.95
PORTREVISION=   3
CATEGORIES= net-im
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT=    Alvano\'s MSN Messenger

LIB_DEPENDS=    Imlib.5:${PORTSDIR}/graphics/imlib
BUILD_DEPENDS=  wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
        ${LOCALBASE}/lib/tls/tls.tcl:${PORTSDIR}/devel/tcltls \
        ${LOCALBASE}/lib/tcllib1.7/base64/base64.tcl:${PORTSDIR}/devel/tcllib
RUN_DEPENDS=    ${BUILD_DEPENDS}

GNU_CONFIGURE=  yes
USE_BZIP2=  yes
USE_GMAKE=  yes

CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
        --with-tk=${LOCALBASE}/lib/tk8.4

CONFIGURE_ENV=  TK_INC_SPEC=${LOCALBASE}/include/tk8.4/generic

post-patch:
    @${FIND} ${WRKSRC} -name '*.c' -or -name '*.h' | ${XARGS} ${REINPLACE_CMD} -e 's|
||'
    @${FIND} ${WRKSRC} -name '*.bak' -delete

.include <bsd.port.mk>