summaryrefslogtreecommitdiff
path: root/lang/nwcc/Makefile
blob: d51c4efbc2876e6a6d469c71646ddedf511e8f32 (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
# ex:ts=8
# Ports collection makefile for:  pcc
# Date created:			  Mon Oct 15, 2007
# Whom:				  David O'Brien (obrien@NUXI.org)
#
# $FreeBSD$
#

PORTNAME=	nwcc
PORTVERSION=	0.7.3
PORTREVISION?=	0
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	obrien@FreeBSD.org
COMMENT=	Nils Weller's C compiler for Unix systems

ONLY_FOR_ARCHS=	i386 amd64

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--installprefix=${PREFIX}
ALL_TARGET=

.include <bsd.port.pre.mk>

.if ${ARCH} == amd64
BUILD_DEPENDS+=	yasm:${PORTSDIR}/devel/yasm
.else
BUILD_DEPENDS+=	nasm:${PORTSDIR}/devel/nasm
.endif

post-build:
	cd ${WRKSRC} ; ${MAKE} test

.include <bsd.port.post.mk>