mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
2ea071deb8
- Update to 1.2.3 - default config now prefix aware - Update PKG_MESSAGE for gtk plugin licq-qt-gui: - Update to 1.2.3 licq-console: - Update to 1.2.3 - user newer autoconf/automake licq-jons-gtk-gui: - Update to 1.2.3 (0.20.1)
50 lines
1.1 KiB
Makefile
50 lines
1.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)
|
|
.if defined(WITH_DANTE)
|
|
LIB_DEPENDS= socks.1:${PORTSDIR}/net/dante
|
|
.else
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
|
|
.endif
|
|
.endif
|
|
|
|
USE_OPENSSL= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
# workaround for installed autoconf/automake
|
|
CONFIGURE_ARGS+=--program-transform-name=s,y,y,
|
|
|
|
.if defined(WITH_SOCKS)
|
|
CONFIGURE_ARGS+=--enable-socks5
|
|
.if defined(WITH_DANTE)
|
|
CONFIGURE_ARGS+=--with-socks5-inc=${LOCALBASE}/include
|
|
CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
|
|
.endif
|
|
.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 "${.CURDIR}/Makefile.inc"
|
|
.include <bsd.port.post.mk>
|