30 lines
539 B
Makefile
30 lines
539 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
|
|
|
|
.include <bsd.port.mk>
|