# ex:ts=8
# New ports collection makefile for:	libcomprex
# Date created:			Nov 22, 2001
# Whom:				ijliao
#
# $FreeBSD: ports/archivers/libcomprex/Makefile,v 1.3 2002/05/12 05:57:27 ijliao Exp $
#

PORTNAME=	libcomprex
PORTVERSION=	0.3.0
CATEGORIES=	archivers
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	gnupdate

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	curl.2:${PORTSDIR}/ftp/curl
.if !exists(/usr/bin/bzip2) 
LIB_DEPENDS+=	bz2.1:${PORTSDIR}/archivers/bzip2
.endif

USE_LIBTOOL=	yes
CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB=	yes

MAN1=		comprex-config.1

.include <bsd.port.mk>
