3c0a036bf7
PR: 182288 Submitted by: Jason Bacon ================================================================= A library supporting IR communication over the Lego Mindstorms IR tower. It can be used from C programs on Posix compliant platforms, supports multiple protocols and is designed to be a replacement for lnpd.
32 lines
601 B
Makefile
32 lines
601 B
Makefile
# Created by: Jason Bacon <jwbacon@tds.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lnphost
|
|
PORTVERSION= 1.0a
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= jwbacon@tds.net
|
|
COMMENT= Lego RCX iinfrared communication API
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= zip gmake
|
|
WRKSRC= ${WRKDIR}/lnphost
|
|
CFLAGS+= -DHAVE_STRING_H
|
|
|
|
PLIST_FILES= bin/lnpdump \
|
|
lib/lnphost.a \
|
|
include/lnphost.h \
|
|
man/man1/lnpdump.1.gz
|
|
|
|
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
|
|
|
|
# Use system getopt
|
|
post-patch:
|
|
${RM} ${WRKSRC}/Include/getopt.h ${WRKSRC}/Modules/getopt.c
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lnpdump
|
|
|
|
.include <bsd.port.mk>
|