1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/libnxt/Makefile
2008-03-06 21:34:40 +00:00

41 lines
955 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= ${MASTER_SITE_GOOGLE_CODE} \
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>