2012-09-25 12:04:48 +00:00
|
|
|
# Created by: Jason Bacon <jwbacon@tds.net>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openvex
|
2013-08-22 09:46:30 +00:00
|
|
|
PORTVERSION= 0.5.2
|
2012-09-25 12:04:48 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://acadix.biz/Ports/distfiles/ \
|
|
|
|
http://personalpages.tds.net/~jwbacon/Ports/distfiles/
|
|
|
|
|
|
|
|
MAINTAINER= jwbacon@tds.net
|
|
|
|
COMMENT= Open source firmware for Vex robotics controllers
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
|
|
|
BUILD_DEPENDS= sdcc:${PORTSDIR}/lang/sdcc \
|
|
|
|
gpasm:${PORTSDIR}/devel/gputils
|
|
|
|
RUN_DEPENDS= vexctl:${PORTSDIR}/devel/roboctl \
|
|
|
|
sdcc:${PORTSDIR}/lang/sdcc \
|
|
|
|
gpasm:${PORTSDIR}/devel/gputils
|
|
|
|
|
2013-07-26 05:37:41 +00:00
|
|
|
REINPLACE_ARGS= -i ""
|
|
|
|
|
2012-09-25 12:04:48 +00:00
|
|
|
MAN1= openvex.1 openvex-new-project.1
|
|
|
|
|
2013-09-20 17:13:42 +00:00
|
|
|
NO_STAGE= yes
|
2013-07-26 05:37:41 +00:00
|
|
|
post-patch:
|
|
|
|
# Use make's -C option to descent into directories and fix parallel builds
|
|
|
|
@${REINPLACE_CMD} -e 's/^all:/& depend/ ; s/ make depend &&//' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -E 's/cd (.+)(;| &&) make/$$(MAKE) -C \1/' \
|
|
|
|
${WRKSRC}/Advanced/Makefile ${WRKSRC}/Beginner/Makefile \
|
|
|
|
${WRKSRC}/HiBob/Makefile ${WRKSRC}/Makefile
|
2012-09-25 12:04:48 +00:00
|
|
|
|
2013-08-22 19:11:58 +00:00
|
|
|
post-build:
|
|
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} clean)
|
|
|
|
|
2012-09-25 12:04:48 +00:00
|
|
|
.include <bsd.port.mk>
|