Files
ports/net/ndproxy/Makefile
T
Vladimir Druzenko a0eb70bcc3 net/ndproxy: Update 3.2 => 3.3, fix build on 15+
Commit log:
https://github.com/AlexandreFenyo/ndproxy/compare/v3.2...v3.3

Improve port:
- Add patch with fix build on 15+.
- Replace PORTVERSION with DISTVERSION.
- Add option DOCS.
- Fix warnings from portclippy.

PR:		291782
Approved by:	Alexandre Fenyo <fbsd.bugzilla@fenyo.net> (maintainer, implicit - inactive since 2019)
Co-authored-by:	David Hauweele <david@hauweele.net>
2025-12-30 04:54:36 +03:00

43 lines
1.0 KiB
Makefile

PORTNAME= ndproxy
DISTVERSIONPREFIX= v
DISTVERSION= 3.3
CATEGORIES= net
MAINTAINER= fbsd.bugzilla@fenyo.net
COMMENT= Implementation of IPv6 Neighbor Discovery proxy
WWW= http://www.fenyo.net/newweb/ndproxy.html
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler kmod
USE_GITHUB= yes
GH_ACCOUNT= AlexandreFenyo
USE_RC_SUBR= ${PORTNAME}
# build for a kernel with 'options VIMAGE'
CFLAGS+= -DVIMAGE ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
CFLAGS_gcc= -Wno-error=strict-prototypes
SUB_FILES= pkg-message
PLIST_FILES= ${KMODDIR}/${PORTNAME}.ko share/man/man4/${PORTNAME}.4.gz
PORTDOCS= README.md TESTING.TXT \
${PORTNAME}.html ${PORTNAME}.pdf ${PORTNAME}.ps \
network-architecture.png
OPTIONS_DEFINE= DOCS
pre-build:
(cd ${BUILD_WRKSRC}; ${MAKE} depend)
do-install:
${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.4 ${STAGEDIR}${PREFIX}/share/man/man4/
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>