8d6597e0bb
With hat: portmgr Sponsored by: Absolight
30 lines
660 B
Makefile
30 lines
660 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $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:devel/p5-Class-Gomor
|
|
LIB_DEPENDS= libdnet.so: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 <bsd.port.mk>
|