# New ports collection makefile for:	szip
# Date created:		15 January 2002
# Whom:			Igor Pokrovsky <tiamat@telegraph.spb.ru>
#
# $FreeBSD: ports/archivers/szip/Makefile,v 1.3 2003/02/21 10:42:57 knu Exp $
#

PORTNAME=	szip
PORTVERSION=	1.12b
CATEGORIES=	archivers
MASTER_SITES=	http://www.compressconsult.com/szip/
DISTNAME=	sz${PORTVERSION:S/.//}_src

MAINTAINER=	tiamat@telegraph.spb.ru
COMMENT=	A fast compression utility

USE_GMAKE=	yes
ONLY_FOR_ARCHS=	i386

do-build:
	${GMAKE} -C ${WRKDIR}

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
.ifndef (NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKDIR}/*.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>
