summaryrefslogtreecommitdiffstats
path: root/devel/dev86/Makefile
blob: c152ee4fe91ec8fc328a6462b330b712c59bbd40 (plain)
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
# New ports collection makefile for:	dev86
# Date created:				25 October 2007
# Whom:					Philip Schulz <phs@deadc0.de>
#
# $FreeBSD$
#

PORTNAME=	dev86
PORTVERSION=	0.16.18
CATEGORIES=	devel
MASTER_SITES=	http://www.debath.co.uk/dev86/ \
		http://tmp.chruetertee.ch/ \
		http://disasterarea.chruetertee.ch/
DISTNAME=	Dev86src-${PORTVERSION}

MAINTAINER=	phs@deadc0.de
COMMENT=	Robert de Bath's 8086 development tools

CONFLICTS=	bcc-[0-9]* \
		bin86-[0-9]*

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN1=		as86.1 bcc.1 elks.1 elksemu.1 ld86.1

post-patch:
# Respect CFLAGS in Makefiles.
	@${GREP} -Rl 'CFLAGS=' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -i "" \
	    -Ee "s|CFLAGS='|&${CFLAGS} |; s|^(CFLAGS=)([^'])|\1${CFLAGS} \2|"

.include <bsd.port.mk>
OpenPOWER on IntegriCloud