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