aboutsummaryrefslogtreecommitdiff
path: root/emulators/i386-wine/Makefile
blob: 7198304546598364c6403816fed19bc78c2bc1a9 (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
# Created by: David Naylor (dbn@FreeBSD.org)

# Special bootstrapper to allow:
#  - i386 specific port to be slave to ${PORTSDIR}/emulators/wine
#  - amd64 specific port to be normal port (based on binary package)

PORTNAME=	wine
# define a dummy DISTVERSION to avoid errors with poudriere bulk -a
# on architectures unsupported by this port
DISTVERSION?=	0
PORTREVISION=	1
PKGNAMEPREFIX=	i386-
CATEGORIES=	emulators

MAINTAINER=	ports@FreeBSD.org
COMMENT=	32-bit Microsoft Windows compatibility environment for 64-bit FreeBSD

ONLY_FOR_ARCHS=	i386 amd64

CONFLICTS_INSTALL=	wine-[0-9]* wine-devel-[0-9]* i386-wine-devel-[0-9]*

PKGINSTALL=	${.CURDIR}/files/pkg-install
PKGDEINSTALL=	${PKGINSTALL}

distinfo-update:
	${RM} ${.CURDIR}/distinfo ${.CURDIR}/distinfo~
.for osrel in 11 12 13
	${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
	${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
	${CAT} ${.CURDIR}/distinfo >> ${.CURDIR}/distinfo~
	${RM} ${.CURDIR}/distinfo
.endfor
	${SED} -e '2,$${' -e '/^TIMESTAMP/d' -e '}' distinfo~ > ${.CURDIR}/distinfo
	${RM} ${.CURDIR}/distinfo~

.include <bsd.port.mk>