1998-07-09 16:01:54 +00:00
|
|
|
# New ports collection makefile for: licq
|
|
|
|
# Date created: 2 July 1998
|
2000-04-01 05:21:42 +00:00
|
|
|
# Whom: Brian Feldman & Matt Heckaman
|
1998-07-09 16:01:54 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-07-09 16:01:54 +00:00
|
|
|
#
|
|
|
|
|
2001-04-10 20:09:53 +00:00
|
|
|
PORTNAME= base
|
|
|
|
PORTVERSION= ${LICQ_VER}
|
1998-07-09 16:01:54 +00:00
|
|
|
CATEGORIES= net
|
2001-04-10 20:09:53 +00:00
|
|
|
.if defined(WITH_SOCKS)
|
|
|
|
PKGNAMESUFFIX= -socks
|
|
|
|
.endif
|
1998-07-09 16:01:54 +00:00
|
|
|
|
2002-01-27 06:23:22 +00:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-20 18:26:42 +00:00
|
|
|
COMMENT= A popular ICQ-compatible plugin-based program
|
1998-11-02 04:04:44 +00:00
|
|
|
|
2001-04-10 20:09:53 +00:00
|
|
|
.if defined(WITH_SOCKS)
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
|
|
|
|
.endif
|
1998-07-09 16:01:54 +00:00
|
|
|
|
2001-04-10 20:09:53 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2003-02-04 20:07:03 +00:00
|
|
|
LICQ_PORT?= ${.CURDIR}
|
2002-10-15 06:24:02 +00:00
|
|
|
|
|
|
|
# workaround for installed autoconf/automake
|
|
|
|
CONFIGURE_ARGS+=--program-transform-name=s,y,y,
|
|
|
|
|
2001-04-10 20:09:53 +00:00
|
|
|
.if defined(WITH_SOCKS)
|
|
|
|
CONFIGURE_ARGS+=--enable-socks5
|
2002-02-07 07:47:55 +00:00
|
|
|
CONFIGURE_ARGS+=--with-socks5-inc=${LOCALBASE}/include
|
|
|
|
CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
.endif
|
2000-02-15 01:46:27 +00:00
|
|
|
|
2003-01-08 22:22:41 +00:00
|
|
|
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
|
|
|
|
|
1999-05-02 20:21:41 +00:00
|
|
|
post-install:
|
2001-04-10 20:09:53 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-05-02 20:21:41 +00:00
|
|
|
|
2002-09-14 18:07:29 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-04-28 17:14:04 +00:00
|
|
|
.include "${PORTSDIR}/security/openssl/bsd.openssl.mk"
|
|
|
|
CONFIGURE_ARGS+=--with-openssl-inc=${OPENSSLINC}
|
|
|
|
CONFIGURE_ARGS+=--with-openssl-lib=${OPENSSLLIB}
|
|
|
|
|
2003-02-04 20:07:03 +00:00
|
|
|
.include "${LICQ_PORT}/Makefile.inc"
|
2002-09-14 18:07:29 +00:00
|
|
|
.include <bsd.port.post.mk>
|