c8861391ee
It is clear from the build dependency on the ports libpcap header that ipdecap intends to have a dependency on ports libpcap. However, it is ambiguously specified and the base libpcap satisfies the requirement, thus the dependency is never registered. Use the full library name (so.1 which does not conflict with either FreeBSD or DF base) to remove the ambiguity. Approved by: just-fix-it
30 lines
644 B
Makefile
30 lines
644 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ipdecap
|
|
PORTVERSION= 0.7.1
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= loic-freebsd@loicp.eu
|
|
COMMENT= Decapsulate traffic encapsulated within GRE, IPIP, 6in4, ESP protocols
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/pcap/vlan.h:net/libpcap
|
|
LIB_DEPENDS= libpcap.so.1:net/libpcap # require ports libpcap
|
|
|
|
PLIST_FILES= bin/ipdecap\
|
|
man/man1/ipdecap.1.gz
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= lpefferkorn
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= autoreconf gmake
|
|
|
|
regression-test: extract
|
|
cd ${WRKSRC}/unit_tests && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
|
|
|
|
.include <bsd.port.mk>
|