# New ports collection makefile for:	linux-winetools
# Date created:				4 September 2002
# Whom:					Marc Fonvieille <blackend@FreeBSD.org>
#
# $FreeBSD: ports/emulators/linux-winetools/Makefile,v 1.5 2004/02/06 13:11:16 trevor Exp $
#

PORTNAME=	winetools
PORTVERSION=	1.25a
CATEGORIES=	emulators linux
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/winetools/}
PKGNAMEPREFIX=	linux-
EXTRACT_SUFX=	.tgz

MAINTAINER=	blackend@FreeBSD.org
COMMENT=	A setup and configuration tool for WINE

RUN_DEPENDS=	wine:${PORTSDIR}/emulators/wine

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
ONLY_FOR_ARCHS=	i386
PLIST_FILES=	bin/winetools
USE_LINUX=	yes

BRANDELF?=	/usr/bin/brandelf
STRIP=

post-extract:
	@${BRANDELF} -t Linux ${WRKDIR}/${PORTNAME}

do-install:
	@${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>
