1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/lang/nbc/Makefile
Martin Wilke 9146c80d02 - Update maintainer mail address
- Update/Remove MASTER_SITE

PR:		204755
Submitted by:	 jwbacon@tds.net (maintainer)
Approved by:	mat (mentor)
Differential Revision:	D4493
2015-12-11 08:48:56 +00:00

50 lines
1.3 KiB
Makefile

# Created by: Ivan "Rambius" Ivanov <rambiusparkisanius@gmail.com>
# $FreeBSD$
# Also created by: Jason Bacon <bacon4000@gmail.com>
PORTNAME= nbc
PORTVERSION= 1.2.1.r4
PORTREVISION= 8
CATEGORIES= lang
MASTER_SITES= SF/bricxcc/NBC_NXC/NBC%20release%20${PORTVERSION:S/.r/%20r/}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= rene@FreeBSD.org
COMMENT= Programming language for the LEGO MINDSTORMS NXT
MAKE_JOBS_UNSAFE= yes
MAKEFILE= nbcunix.mak
WRKSRC= ${WRKDIR}/NXT
OPTIONS_DEFINE= DOCS ROBOCTL
ROBOCTL_DESC= Include roboctl to communicate with the NXT
ROBOCTL_RUN_DEPENDS= legoctl:${PORTSDIR}/devel/roboctl
USES= dos2unix gmake tar:tgz
USE_FPC= fcl-base fcl-image hash pasjpeg paszlib
PLIST_FILES= bin/nbc \
include/nbc/NXCDefs.h \
include/nbc/NBCCommon.h \
include/nbc/NXTDefs.h
PORTDOCS= Changelog \
Readme
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/${MAKEFILE}
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/nbc
${INSTALL_PROGRAM} ${WRKSRC}/nbc ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/nbc
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKDIR}/doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>