summaryrefslogtreecommitdiff
path: root/emulators/winetools/Makefile
blob: 29f74d8a695ff7740a5cb676517e483e833fe385 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	linux-winetools
# Date created:				4 September 2002
# Whom:					Marc Fonvieille <blackend@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	winetools
PORTVERSION=	1.20
CATEGORIES=	emulators linux
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/winetools/}
PKGNAMEPREFIX=	linux-
DISTNAME=	${PORTNAME}-${PORTVERSION}.setup.sh
EXTRACT_SUFX=
EXTRACT_ONLY=

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
USE_LINUX=	yes

BRANDELF?=	/usr/bin/brandelf
STRIP=

post-extract:
	@${TAIL} +179 ${DISTDIR}/${DISTFILES} | ${TAR} -xzf - -C ${WRKDIR} ${PORTNAME}
	@${BRANDELF} -t Linux ${WRKDIR}/${PORTNAME}

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

.include <bsd.port.mk>