summaryrefslogtreecommitdiffstats
path: root/lang/nqc/Makefile
blob: 5694e615e4c833749730a80cb4ebd163313c46d5 (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
32
# Created by: kbyanc
# $FreeBSD$

PORTNAME=	nqc
PORTVERSION=	3.1.r6
CATEGORIES=	lang
MASTER_SITES=	http://bricxcc.sourceforge.net/nqc/release/ \
		ftp://ftp2.za.freebsd.org/pub/nqc/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Compiler for writing programs for the Lego RCX

LICENSE=	MPL
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		gmake dos2unix tar:tgz
NO_WRKSUBDIR=	yes

PLIST_FILES=	bin/nqc man/man1/nqc.1.gz

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-rcxlib-RCX_USBTowerPipe_fbsd.cpp
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/nqc ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/nqc-man-2.1r1-0.man \
		${STAGEDIR}${MANPREFIX}/man/man1/nqc.1

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