blob: 8793ea164e7acf199452bd1d55e6ff01ba5e3f48 (
plain) (
blame)
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
28
29
30
31
32
|
# Created by: itojun@itojun.org
# $FreeBSD$
PORTNAME= choparp
PORTVERSION= 20150613
CATEGORIES= net-mgmt
MASTER_SITES= GH
MAINTAINER= garga@FreeBSD.org
COMMENT= Simple proxy arp daemon
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= quinot
GH_TAGNAME= release/${PORTVERSION}
USE_RC_SUBR= choparp
LDFLAGS+= -lpcap
PLIST_FILES= sbin/choparp man/man8/choparp.8.gz
do-build:
( cd ${WRKSRC}/src && \
${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.8 \
${STAGEDIR}${MAN8PREFIX}/man/man8
.include <bsd.port.mk>
|