freebsd-ports/lang/nqc/Makefile
Mathieu Arnold 0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00

29 lines
684 B
Makefile

# 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= jhay@FreeBSD.org
COMMENT= Compiler for writing programs for the Lego RCX
USES= gmake dos2unix tar:tgz
NO_WRKSUBDIR= yes
PLIST_FILES= bin/nqc man/man1/nqc.1.gz
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.pre.mk>
.if ${OPSYS} == FreeBSD
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-rcxlib-RCX_USBTowerPipe_fbsd.cpp
.endif
.include <bsd.port.post.mk>