summaryrefslogtreecommitdiff
path: root/emulators/twin/Makefile
blob: b0a74010291a89a9d4c10925e16c88655e240407 (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
38
39
40
# New ports collection makefile for:	Willows
# Version required:	1999.06.16
# Date created:		5 June 1999
# Whom:			Pedro F. Giffuni
#
# $FreeBSD$
#

DISTNAME=	twin-19991230
PKGNAME=	twin-1999.12.30
CATEGORIES=	emulators devel
MASTER_SITES=	ftp://ftp.willows.com/pub/development/

MAINTAINER=	giffunip@asme.org

WRKSRC=		$(WRKDIR)/twin
USE_XLIB=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
ALL_TARGET=	depend world
CONFIGURE_ARGS=

# This hack is in order to avoid a build error with optimizations on,
# a real bugfix will surely come soon.
pre-patch:
	${CP} $(WRKSRC)/windows/if32.s $(WRKSRC)/windows/if32.S

pre-configure:
	${ECHO} "configure_args = ${CONFIGURE_ARGS}"
	${ECHO} "configure_env = ${CONFIGURE_ENV}"

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/twin
	${INSTALL_DATA} ${WRKSRC}/documentation/* ${PREFIX}/share/doc/twin
	${GZIP_CMD} ${PREFIX}/share/doc/twin/*
.endif
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>