aboutsummaryrefslogtreecommitdiffstats
path: root/net/licq/Makefile
blob: 33173d5ff0418e9ff15ef0f0e39ad106eaf61133 (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
# 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= green@FreeBSD.org

.if defined(WITH_SOCKS)
BUILD_DEPENDS=  ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif

USE_OPENSSL=    yes
WRKSRC=     ${WRKDIR}/${DISTNAME}
.if defined(WITH_SOCKS)
CONFIGURE_ARGS+=--enable-socks5
.endif

post-patch:
    @${PERL5} -pi -e 's|<wait.h>|<sys/wait.h>|g' \
        ${WRKSRC}/src/sighandler.c

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

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