head	1.24;
access;
symbols
	RELEASE_8_3_0:1.17
	RELEASE_9_0_0:1.17
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.2;
locks; strict;
comment	@# @;


1.24
date	2013.03.07.13.45.41;	author svnexp;	state Exp;
branches;
next	1.23;

1.23
date	2012.11.17.05.58.53;	author svnexp;	state Exp;
branches;
next	1.22;

1.22
date	2012.10.07.09.11.51;	author rene;	state Exp;
branches;
next	1.21;

1.21
date	2012.06.26.19.25.12;	author rene;	state Exp;
branches;
next	1.20;

1.20
date	2012.06.05.18.21.30;	author rene;	state Exp;
branches;
next	1.19;

1.19
date	2012.06.01.05.21.18;	author dinoex;	state Exp;
branches;
next	1.18;

1.18
date	2012.04.19.06.51.44;	author acm;	state Exp;
branches;
next	1.17;

1.17
date	2011.06.23.05.39.27;	author acm;	state Exp;
branches;
next	1.16;

1.16
date	2011.03.17.22.55.28;	author rene;	state Exp;
branches;
next	1.15;

1.15
date	2011.03.16.09.06.12;	author rene;	state Exp;
branches;
next	1.14;

1.14
date	2011.03.15.20.20.10;	author rene;	state Exp;
branches;
next	1.13;

1.13
date	2010.11.15.22.50.44;	author acm;	state Exp;
branches;
next	1.12;

1.12
date	2010.10.26.14.33.12;	author rene;	state Exp;
branches;
next	1.11;

1.11
date	2010.08.16.18.41.53;	author acm;	state Exp;
branches;
next	1.10;

1.10
date	2010.08.01.16.47.06;	author rene;	state Exp;
branches;
next	1.9;

1.9
date	2010.07.12.11.36.10;	author rene;	state Exp;
branches;
next	1.8;

1.8
date	2010.04.26.18.59.34;	author rene;	state Exp;
branches;
next	1.7;

1.7
date	2010.03.28.06.38.55;	author dinoex;	state Exp;
branches;
next	1.6;

1.6
date	2010.03.08.20.27.23;	author rene;	state Exp;
branches;
next	1.5;

1.5
date	2009.08.22.00.24.32;	author amdmi3;	state Exp;
branches;
next	1.4;

1.4
date	2008.07.26.10.02.22;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2008.07.03.20.42.13;	author acm;	state Exp;
branches;
next	1.2;

1.2
date	2008.05.18.23.46.23;	author acm;	state Exp;
branches;
next	1.1;

1.1
date	2008.05.16.15.05.26;	author acm;	state Exp;
branches;
next	;


desc
@@


1.24
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313558
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Ivan "Rambius" Ivanov <rambiusparkisanius@@gmail.com>
# $FreeBSD: head/lang/nbc/Makefile 313558 2013-03-06 23:31:58Z rene $

# Also created by: Jason Bacon <jwbacon@@tds.net>

PORTNAME=		nbc
PORTVERSION=		1.2.1.r4
PORTREVISION=		4
CATEGORIES=		lang
MASTER_SITES=		SF
MASTER_SITE_SUBDIR=	bricxcc/NBC_NXC/NBC%20release%20${PORTVERSION:S/.r/%20r/}
DISTNAME=		${PORTNAME}-${PORTVERSION}.src
EXTRACT_SUFX=		.tgz

MAINTAINER=		rene@@FreeBSD.org
COMMENT=		NBC is a programming language for the LEGO MINDSTORMS NXT product

MAKE_JOBS_UNSAFE=	yes
MAKEFILE=		nbcunix.mak

OPTIONS_DEFINE=	DOCS ROBOCTL

ROBOCTL_DESC=	Include roboctl to communicate with the NXT

OPTIONS_DEFAULT=

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MROBOCTL}
RUN_DEPENDS=		legoctl:${PORTSDIR}/devel/roboctl
.endif

USE_GMAKE=		yes
USE_DOS2UNIX=		yes
USE_FPC=		fcl-base fcl-image

WRKSRC=			${WRKDIR}/NXT

PLIST_FILES=		bin/nbc \
			include/nbc/NXCDefs.h \
			include/nbc/NBCCommon.h \
			include/nbc/NXTDefs.h
PLIST_DIRS=		include/nbc

.if ${PORT_OPTIONS:MDOCS}
PORTDOCS=		Changelog \
			Readme
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${MAKEFILE}
	@@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/${MAKEFILE}

do-install:
	${MKDIR} ${PREFIX}/include/nbc
	${INSTALL_PROGRAM} ${WRKSRC}/nbc ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/nbc
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKDIR}/doc/Changelog ${DOCSDIR}
	${INSTALL_DATA} ${WRKDIR}/doc/Readme ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.23
log
@Switch exporter over
@
text
@d1 4
a4 3
# Created by:	Ivan "Rambius" Ivanov <rambiusparkisanius@@gmail.com>
#		Jason Bacon <jwbacon@@tds.net>
# $FreeBSD: head/lang/nbc/Makefile 305446 2012-10-07 09:11:51Z rene $
a32 4
.if ${OSVERSION} < 800069
LIB_DEPENDS=		usb:${PORTSDIR}/devel/libusb
.endif

@


1.22
log
@SVN rev 305446 on 2012-10-07 09:11:51Z by rene

Cleanup Makefile headers of my ports.

Just use my login for ports I originally created myself.
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.21
log
@Make sure DOCS, NLS, and EXAMPLES are mentioned in OPTIONS_DEFINE if used.
@
text
@d1 2
a2 4
# New ports collection makefile for:	nbc
# Date created:				4 April 2007
# Whom:					Ivan "Rambius" Ivanov <rambiusparkisanius@@gmail.com>
#					Jason Bacon <jwbacon@@tds.net>
a3 1
#
@


1.20
log
@- Convert to optionsNG
- include bsd.port.mk instead of bsd.port.{pre|post}.mk
@
text
@d23 1
a23 1
OPTIONS_DEFINE=	ROBOCTL
@


1.19
log
@- update png to 1.5.10
@
text
@d10 1
a10 1
PORTREVISION=	4
d23 1
a23 1
OPTIONS=	ROBOCTL	"Include roboctl to communicate with the NXT"	off
d25 1
a25 1
.include <bsd.port.pre.mk>
d27 5
a31 1
.if !defined(WITHOUT_ROBOCTL)
d51 1
a51 1
.if !defined(NOPORTDOCS)
d64 1
a64 1
.if !defined(NOPORTDOCS)
d70 1
a70 1
.include <bsd.port.post.mk>
@


1.18
log
@- Bump PORTREVISION (freepascal ports were updated)
@
text
@d10 1
a10 1
PORTREVISION=		3
@


1.17
log
@- Bump PORTREVISION. lang/fpc has been updated to 2.4.4
@
text
@d10 1
a10 1
PORTREVISION=		2
@


1.16
log
@Chase rerolled distfile and bump PORTREVISION.

Some prototypes in NXCDefs.h and NXTDefs.h are now properly declared as
only available in the enhanced firmware.
Submitted by:	pointyhat via pav
@
text
@d10 1
a10 1
PORTREVISION=		1	
@


1.15
log
@Fix removal of pkg-message.in in Makefile
@
text
@d10 1
@


1.14
log
@- Update to 1.2.1.r4
- Remove not-so-useful pkg-message
@
text
@d1 1
a1 1
# New ports collection makefile for:	nbcx
a37 1
SUB_FILES=		pkg-message
a64 3
post-install:
	@@${CAT} ${PKGMESSAGE}

@


1.13
log
@- Welcome to fpc 2.4.2
- Bump PORTREVISIOON
@
text
@d9 1
a9 2
PORTVERSION=		1.2.1.r3
PORTREVISION=		2
d20 1
d53 2
a54 2
	@@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
	@@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/Makefile
@


1.12
log
@Mark MAKE_JOBS_UNSAFE
@
text
@d10 1
a10 1
PORTREVISION=		1
@


1.11
log
@- Bump PORTREVISION. lang/fpc was updated and now it supports amd64
@
text
@d20 2
@


1.10
log
@Take over maintainership.

Submitted by:	linimon
Approved by:	[rambiusparkisanius gmail.com] (old maintainer), jadawin (co-mentor)
@
text
@d10 1
@


1.9
log
@* Update to 1.2.1.r3
* Use generic SF format for MASTER_SITES
* Drop nbc.1 as it does not exist in this release

PR:		ports/148048
Submitted by:	myself
Approved by:	maintainer timeout (21 days), tabthorpe (mentor)
@
text
@d16 1
a16 1
MAINTAINER=		rambiusparkisanius@@gmail.com
@


1.8
log
@Update to 1.0.1.b36

PR:		ports/145515
Submitted by:	Christopher Key [cjk32 cam.ac.uk]
Approved by:	maintainer, tabthorpe (mentor)
@
text
@d9 1
a9 1
PORTVERSION=		1.0.1.b36
d11 3
a13 2
MASTER_SITES=		http://bricxcc.sourceforge.net/nbc/beta/
DISTNAME=		${PORTNAME}-${PORTVERSION}.unix-src
a48 4
.if !defined(NO_INSTALL_MANPAGES)
MAN1=			nbc.1
.endif

a61 3
.if !defined(NO_INSTALL_MANPAGES)
	${INSTALL_MAN} ${WRKDIR}/doc/nbc.1 ${MANPREFIX}/man/man1
.endif
@


1.7
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d9 1
a9 2
PORTVERSION=		1.0.1.b34
PORTREVISION=	1
d11 2
a12 2
MASTER_SITES=		SF/bricxcc/NBC_NXC/NBC%20beta%2034
DISTNAME=		${PORTNAME}-${PORTVERSION}.src
d18 5
d24 5
d32 1
a32 1
USE_FPC=		fcl-base
a33 1
MAKEFILE=		nbcfreebsd.mak
d35 1
a35 1
WRKSRC=			${WRKDIR}/nxt
a37 2
			share/nbc/history.txt \
			share/nbc/readme.txt \
d41 14
a54 2
PLIST_DIRS=		share/nbc \
			include/nbc
d57 1
a57 1
	${MKDIR} ${PREFIX}/include/nbc ${PREFIX}/share/nbc
d60 8
a67 1
	${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/nbc
d72 1
a72 1
.include <bsd.port.mk>
@


1.6
log
@Update to 1.0.1.b34

PR:		ports/144178
Submitted by:	rene
Reviewed by:	wxs
Approved by:	maintainer timeout (15 days)
@
text
@d10 1
@


1.5
log
@- Switch SourceForge ports to the new File Release System: categories starting with H,I,J,K,L
@
text
@d9 1
a9 2
PORTVERSION=		1.0.1.b32
PORTREVISION=		1
d11 1
a11 1
MASTER_SITES=		SF/bricxcc/NBC_NXC/NBC%20beta%2032
@


1.4
log
@Fix dependency on devel/roboctl
@
text
@d12 1
a12 2
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	bricxcc
@


1.3
log
@- Use new fpc stuff
- Remove obsolete Makefile lines
- Bump PORTREVISION

Approved by:	rambiusparkisanius at gmail.com (maintainer)
@
text
@d20 1
a20 1
RUN_DEPENDS=		legoctl:${PORTSDIR}/devel/legoctl
@


1.2
log
@- Use EXPR macro instead of expr on post-depends. It could fix a problem on
FreeBSD 7

Reported by:	erwin, maintainer via email
@
text
@d10 1
a19 2
BUILD_DEPENDS=		fpc:${PORTSDIR}/lang/fpc \
			${UNITSDIR}/fcl-base/Package.fpc:${PORTSDIR}/devel/fpc-fcl-base
d24 1
a29 4
BUILDNAME=		${ARCH}-freebsd
FPC_MINVER=		2.2.0
UNITSDIR=		${LOCALBASE}/lib/fpc/${FPC_MINVER}/units/${BUILDNAME}

a38 10
post-depends:
.if exists(${LOCALBASE}/bin/fpc)
FPC_VER!=	${LOCALBASE}/bin/fpc -iV
FPC_REQVER!=	${ECHO_CMD} $$(${EXPR} ${FPC_VER:C/^[^\.]*\.//} \>= ${FPC_MINVER:C/^[^\.]*\.//})

.if (${FPC_REQVER} != 1)
IGNORE=	requires fpc ${FPC_MINVER} or above. Please upgrade
.endif
.endif

@


1.1
log
@New port: lang/nbc

NBC (Next Byte Codes) is a programming language for the LEGO
MINDSTORMS NXT product. NBC's syntax is based on assembler programming
langauges, so experienced assembler programmers (or just about any
programmers) should find it very easy to get started with. Even if you
aren't an experienced programmer, NBC is relatively easy to learn.

WWW: http://bricxcc.sourceforge.net/nbc/

PR:		116274
Submitted by:	Ivan "Rambius" Ivanov <rambiusparkisanius_ at __gmail.com>
@
text
@d46 1
a46 1
FPC_REQVER!=	${ECHO_CMD} $$(expr ${FPC_VER:C/^[^\.]*\.//} \>= ${FPC_MINVER:C/^[^\.]*\.//})
@

