mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
cf118ccf87
Reported by: lwhsu
34 lines
754 B
Makefile
34 lines
754 B
Makefile
PORTNAME= ndproxy
|
|
PORTVERSION= 3.2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= fbsd.bugzilla@fenyo.net
|
|
COMMENT= Implementation of IPv6 Neighbor Discovery proxy
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= compiler kmod
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
USE_RC_SUBR= ndproxy
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= AlexandreFenyo
|
|
|
|
# build for a kernel with 'options VIMAGE'
|
|
CFLAGS+= -DVIMAGE ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
|
|
CFLAGS_gcc= -Wno-error=strict-prototypes
|
|
|
|
PLIST_FILES= ${KMODDIR}/${PORTNAME}.ko man/man4/${PORTNAME}.4.gz
|
|
|
|
pre-build:
|
|
(cd ${BUILD_WRKSRC}; ${MAKE} depend)
|
|
|
|
do-install:
|
|
${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.4 ${STAGEDIR}${PREFIX}/man/man4/
|
|
|
|
.include <bsd.port.mk>
|