# New ports collection makefile for:	ucl
# Date created:				29 January 2001
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/archivers/ucl/Makefile,v 1.2 2001/02/14 05:41:48 lioux Exp $
#

PORTNAME=	ucl
PORTVERSION=	0.92
CATEGORIES=	archivers devel
MASTER_SITES=	http://wildsau.idv.uni-linz.ac.at/mfx/download/${PORTNAME}/ \
		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	libs/compression

MAINTAINER=	sobomax@FreeBSD.org

INSTALLS_SHLIB=	yes
USE_LIBTOOL=	yes
CONFIGURE_ARGS=	--enable-shared

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/uclpack \
		${PREFIX}/bin/uclpack
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
.for file in COPYING README
	${INSTALL_DATA}	${WRKSRC}/${file} ${PREFIX}/share/doc/${PORTNAME}
.endfor
.endif

.include <bsd.port.mk>
