summaryrefslogtreecommitdiff
path: root/devel/lnphost/Makefile
blob: 52af969ccef52fe817f8317dfa584a6341e99b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

PORTNAME=	lnphost
PORTVERSION=	1.0a
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	jwb@FreeBSD.org
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>