aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nqc/Makefile
blob: b0e1a543b2e27788e85d15d909adad1d38c9a90b (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
# New ports collection makefile for:    nqc
# Date created:        11 Aug 1999
# Whom:                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/
EXTRACT_SUFX=   .tgz

MAINTAINER= jhay@FreeBSD.org
COMMENT=    A compiler for writing programs for the Lego RCX

USE_GMAKE=  yes
NO_WRKSUBDIR=   yes

MAN1=       nqc.1
PLIST_FILES=    bin/nqc

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800064
USE_DOS2UNIX=   rcxlib/RCX_USBTowerPipe_fbsd.cpp
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-rcxlib-RCX_USBTowerPipe_fbsd.cpp
.endif

.include <bsd.port.post.mk>