33fa865f64
PR: 34293 Requested by: Antonio Carlos Venancio Junior <floripa@organiKa.com.br>
38 lines
815 B
Makefile
38 lines
815 B
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= ports@FreeBSD.org
|
|
|
|
.if defined(WITH_SOCKS)
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
|
|
.endif
|
|
|
|
USE_OPENSSL= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
.if defined(WITH_SOCKS)
|
|
CONFIGURE_ARGS+=--enable-socks5
|
|
.endif
|
|
|
|
post-patch:
|
|
@${PERL5} -pi -e 's|<wait.h>|<sys/wait.h>|g' \
|
|
${WRKSRC}/src/sighandler.c
|
|
|
|
post-install:
|
|
.if !exists(${PREFIX}/bin/licq)
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/licq ${PREFIX}/bin
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include "${.CURDIR}/Makefile.inc"
|
|
.include <bsd.port.mk>
|