summaryrefslogtreecommitdiffstats
path: root/net/p5-Net-RawSock/Makefile
blob: 3f5d69bc78cba07da12be2b39c3cb09cc9183d29 (plain)
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
# New ports collection makefile for:    p5-Net-Divert
# Date created:                         January 30, 2003
# Whom:                                 Nicolas Jombart
#
# $FreeBSD$

PORTNAME=	Net-RawSock
PORTVERSION=	1.0
CATEGORIES=	net perl5
MASTER_SITES=	http://www.hsc.fr/ressources/outils/rawsock/download/
PKGNAMEPREFIX=	p5-

MAINTAINER=	ecu@ipv42.net
COMMENT=	Net::RawSock provides a base function to send raw IP packets from Perl

PERL_CONFIGURE=	yes

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		Net::RawSock.3
DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for f in README demo.pl
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud