blob: 4c5d585a1f21c3b8a85e0977d12e7364a59045cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# 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>
|