# Created by: Jason Bacon # $FreeBSD$ PORTNAME= libnxt PORTVERSION= 0.3 CATEGORIES= devel MASTER_SITES= GOOGLE_CODE \ http://personalpages.tds.net/~jwbacon/Ports/distfiles/ MAINTAINER= jwbacon@tds.net COMMENT= Lego NXT library 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} ${STAGEDIR}${PREFIX}/include/libnxt ${INSTALL_PROGRAM} ${WRKSRC}/fwflash ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/fwexec ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/libnxt.a ${STAGEDIR}${PREFIX}/lib @${MKDIR} ${STAGEDIR}${PREFIX}/include/libnxt .for file in ${WRKSRC}/*.h ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/include/libnxt .endfor .include