ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/net/p5-Net-Libdnet/Makefile
Revision: 19524
Committed: Thu Jun 25 01:37:15 2015 UTC (8 years, 10 months ago) by laffer1
File size: 889 byte(s)
Log Message:
update perl ports in net

File Contents

# Content
1 # New ports collection makefile for: p5-Net-Libdnet
2 # Date created: May 8 2008
3 # Whom: Lucas Holt <luke@Midnightbsd.org>
4 #
5 # $MidnightBSD$
6 #
7
8 PORTNAME= Net-Libdnet
9 PORTVERSION= 0.98
10 CATEGORIES= net perl5
11 MASTER_SITES= CPAN
12 PKGNAMEPREFIX= p5-
13
14 MAINTAINER= ports@MidnightBSD.org
15 COMMENT= Libdnet interface
16
17 LICENSE= bsd3
18
19 BUILD_DEPENDS= p5-Class-Gomor>=0:${PORTSDIR}/devel/p5-Class-Gomor
20 LIB_DEPENDS= libdnet.so:${PORTSDIR}/net/libdnet
21 RUN_DEPENDS:= ${BUILD_DEPENDS}
22
23 PERL_CONFIGURE= yes
24 CONFIGURE_ARGS= INC='-I${LOCALBASE}/include'
25 USES= perl5
26 USE_PERL5= configure
27
28 post-patch:
29 @${REINPLACE_CMD} -e 's|dumbnet|dnet|g' ${WRKSRC}/Libdnet.xs
30
31 post-install:
32 ${CHMOD} u+w ${PREFIX}/${SITE_ARCH_REL}/auto/Net/Libdnet/Libdnet.so
33 ${STRIP_CMD} ${PREFIX}/${SITE_ARCH_REL}/auto/Net/Libdnet/Libdnet.so
34 ${CHMOD} u-w ${PREFIX}/${SITE_ARCH_REL}/auto/Net/Libdnet/Libdnet.so
35
36 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H