mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
4e4178dab5
from these ports. Other changes: - convert Makefile header - convert to optionsNG - remove indefinite article from comment - drop support for FreeBSD < 8.0 - pet portlint (leave library ABI versions in LIB_DEPENDS) - net-mgmt/spectools: change option name from GTK to GTK2 to use default description from bsd.options.desc.mk Approved by: portmgr (bapt)
36 lines
822 B
Makefile
36 lines
822 B
Makefile
# Created by: 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= 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} ${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>
|