# New ports collection makefile for: linunace
# Date created:		9 November 2005
# Whom:			Andrew Pantyukhin <infofarmer@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	unace
PORTVERSION=	2.5
PORTEPOCH=	1
CATEGORIES=	archivers linux
MASTER_SITES=	http://www.winace.com/files/
PKGNAMEPREFIX=	linux-
DISTNAME=	lin${PORTNAME}${PORTVERSION:S/.//}
EXTRACT_SUFX=	.tgz

MAINTAINER=	infofarmer@gmail.com
COMMENT=	Extract, view & test ACE archives

NO_PACKAGE=	"Distribution is permitted within the original package only"

NO_BUILD=	yes
PLIST_FILES=	bin/linunace
PORTDOCS=	licence

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/unace ${PREFIX}/bin/linunace
	${BRANDELF} -t Linux ${PREFIX}/bin/linunace
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKDIR}/licence ${DOCSDIR}
.endif

.include <bsd.port.mk>