freebsd-ports/net-im/licq/Makefile
Dirk Meyer 86a6f41038 - allows licq used as master-port. e.G. for socks.
- remove WITH_DANTE
- fix SOCKS support to work with net/socks5-port.
PR:		47636
Submitted by:	lofi@lofi.dyndns.org
2003-01-31 04:48:15 +00:00

44 lines
1 KiB
Makefile

# 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)
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif
USE_OPENSSL= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
INCDIR?= ${.CURDIR}
# workaround for installed autoconf/automake
CONFIGURE_ARGS+=--program-transform-name=s,y,y,
.if defined(WITH_SOCKS)
CONFIGURE_ARGS+=--enable-socks5
CONFIGURE_ARGS+=--with-socks5-inc=${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
.endif
pre-configure:
@${MV} ${WRKSRC}/src/licq.conf.h ${WRKSRC}/src/licq.conf.h.sed
${SED} -e "s=/usr/share/licq=${PREFIX}/share/licq=" \
${WRKSRC}/src/licq.conf.h.sed > ${WRKSRC}/src/licq.conf.h
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.include "${INCDIR}/Makefile.inc"
.include <bsd.port.post.mk>