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

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

Properties

Name Value
svn:keywords MidnightBSD=%H