# Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= Net-Libdnet PORTVERSION= 0.98 PORTREVISION= 2 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Libdnet interface LICENSE= BSD3CLAUSE BUILD_DEPENDS= p5-Class-Gomor>=0:${PORTSDIR}/devel/p5-Class-Gomor LIB_DEPENDS= libdnet.so:${PORTSDIR}/net/libdnet RUN_DEPENDS:= ${BUILD_DEPENDS} CONFIGURE_ARGS= INC='-I${LOCALBASE}/include' USES= perl5 USE_PERL5= configure post-patch: @${REINPLACE_CMD} -e 's|dumbnet|dnet|g' ${WRKSRC}/Libdnet.xs post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/Libdnet/Libdnet.so .include