aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/licq/Makefile
blob: 4328a3b1dceab3ccfb52e39b513087584fc52a36 (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
# New ports collection makefile for:    licq
# Date created:                         2 July 1998
# Whom:                                 Brian Feldman & Matt Heckaman
#
# $FreeBSD$
#

PORTNAME=   base
PORTVERSION=    ${LICQ_VER}
CATEGORIES= net
.if defined(WITH_SOCKS)
PKGNAMESUFFIX=  -socks
.endif

MAINTAINER= dinoex@FreeBSD.org

.if defined(WITH_SOCKS)
.if defined(WITH_DANTE)
LIB_DEPENDS=    socks.1:${PORTSDIR}/net/dante
.else
BUILD_DEPENDS=  ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif
.endif

USE_OPENSSL=    yes
WRKSRC=     ${WRKDIR}/${DISTNAME}

# workaround for installed autoconf/automake
CONFIGURE_ARGS+=--program-transform-name=s,y,y,

.if defined(WITH_SOCKS)
CONFIGURE_ARGS+=--enable-socks5
.if defined(WITH_DANTE)
CONFIGURE_ARGS+=--with-socks5-inc=${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
.endif
.endif

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

.include <bsd.port.pre.mk>
.include "${.CURDIR}/Makefile.inc"
.include <bsd.port.post.mk>