aboutsummaryrefslogtreecommitdiffstats
path: root/net/gale/Makefile
blob: 3b67978c290d2580544e2c171b0bc9d08c0ba973 (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
# New ports collection makefile for:    gale
# Date created:         14 July 2000
# Whom:                 Peter Haight <peterh@sapros.com>
#
# $FreeBSD$
#

PORTNAME=   gale
PORTVERSION=    0.99e
CATEGORIES= net
MASTER_SITES=   http://www.mit.edu/afs/sipb/project/gale/src/ \
        # http://download.ofb.net/gale/ - original mastersite
DISTNAME=   ${PORTNAME}-${PORTVERSION}gg

MAINTAINER= peterh@sapros.com
COMMENT=    A secure instant messaging system

BUILD_DEPENDS=  ${LOCALBASE}/lib/libgc.a:${PORTSDIR}/devel/boehm-gc
LIB_DEPENDS=    wwwcore.1:${PORTSDIR}/www/libwww \
        adns.1:${PORTSDIR}/dns/adns

USE_OPENSSL=    yes
USE_AUTOCONF_VER=213
USE_AUTOMAKE_VER=14
USE_INC_LIBTOOL_VER=13
INSTALLS_SHLIB= yes

CFLAGS+=    -I${LOCALBASE}/include -L${LOCALBASE}/lib
CPPFLAGS+=  -I${LOCALBASE}/include -L${LOCALBASE}/lib \
        -I${LOCALBASE}/include/w3c-libwww
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=     "Does not compile on FreeBSD >= 5.x"
.endif

pre-configure:
    cd ${WRKSRC} && ${ACLOCAL} -I ${LIBTOOL_SHAREDIR}/libltdl

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>