freebsd-ports/devel/libnxt/Makefile
Edwin Groothuis ce923a0103 New port: devel/libnxt Lego Mindstorms NXT firmware management
Libnxt is a library and set of tools for managing Lego Mindstorms
    NXT firmware via the Unix command line.

PR:		ports/116398
Submitted by:	Jason Bacon <jwbacon@tds.net>
2007-09-23 02:56:44 +00:00

40 lines
964 B
Makefile

# New ports collection makefile for: libnxt
# Date created: 2007-05-05
# Whom: Jason Bacon <bacon11@tds.net>
#
# $FreeBSD$
#
PORTNAME= libnxt
PORTVERSION= 0.3
CATEGORIES= devel
MASTER_SITES= http://libnxt.googlecode.com/files/ \
http://personalpages.tds.net/~jwbacon/Ports/distfiles/
MAINTAINER= bacon@smithers.neuro.mcw.edu
COMMENT= Lego NXT library
LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons \
python:${PORTSDIR}/lang/python
SUB_FILES= pkg-message
USE_LDCONFIG= yes
do-build:
(cd ${WRKSRC}; scons)
do-install:
${MKDIR} ${PREFIX}/include/libnxt
${INSTALL_PROGRAM} ${WRKSRC}/fwflash ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/fwexec ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libnxt.a ${PREFIX}/lib
${MKDIR} ${PREFIX}/include/libnxt
.for file in ${WRKSRC}/*.h
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/libnxt
.endfor
post-install:
@${CAT} ${WRKDIR}/pkg-message
.include <bsd.port.mk>