1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net/licq/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: licq
# Date created: 2 July 1998
# Whom: Brian Feldman & Matt Heckaman
#
1999-08-30 14:24:37 +00:00
# $FreeBSD$
#
PORTNAME= base
PORTVERSION= ${LICQ_VER}
CATEGORIES= net
.if defined(WITH_SOCKS)
PKGNAMESUFFIX= -socks
.endif
MAINTAINER= dinoex@FreeBSD.org
2003-02-20 18:26:42 +00:00
COMMENT= A popular ICQ-compatible plugin-based program
.if defined(WITH_SOCKS)
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif
WRKSRC= ${WRKDIR}/${DISTNAME}
LICQ_PORT?= ${.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}
2002-09-14 18:07:29 +00:00
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/security/openssl/bsd.openssl.mk"
CONFIGURE_ARGS+=--with-openssl-inc=${OPENSSLINC}
CONFIGURE_ARGS+=--with-openssl-lib=${OPENSSLLIB}
.include "${LICQ_PORT}/Makefile.inc"
2002-09-14 18:07:29 +00:00
.include <bsd.port.post.mk>