head	1.4;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2;
locks; strict;
comment	@# @;


1.4
date	2012.11.17.06.01.05;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2007.09.08.01.03.51;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2006.05.31.01.29.42;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2006.05.13.16.33.50;	author aaron;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Switch exporter over
@
text
@# New ports collection makefile for:	ipfwcount
# Date created:				22 February 2006
# Whom:					Robert Archer <freebsd@@deathbeforedecaf.net>
#
# $FreeBSD: head/security/ipfwcount/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	ipfwcount
PORTVERSION=	0.2.1
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://deathbeforedecaf.net/misc/ports/ \
		http://users.netleader.com.au/~rob/

MAINTAINER=	freebsd@@deathbeforedecaf.net
COMMENT=	Summarise ipfw logs by counting and sorting the fields

PLIST_FILES=	bin/ipfwcount
MAN1=		ipfwcount.1

USE_PERL5=	yes

.if !defined(NOPORTDOCS)
PLIST_DIRS=	%%EXAMPLESDIR%%
PLIST_FILES+=	%%EXAMPLESDIR%%/100.ipfwcount
SUB_FILES=	pkg-message
.endif

post-patch:
	${REINPLACE_CMD} -e '1s,^#![^ ]*,#!${PERL},' ${WRKSRC}/ipfwcount

do-build:
	cd ${WRKSRC} && pod2man ipfwcount > ipfwcount.1

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/ipfwcount ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/ipfwcount.1 ${PREFIX}/man/man1/ipfwcount.1
.if !defined(NOPORTDOCS)
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/100.ipfwcount ${EXAMPLESDIR}
.endif

post-install:
.if !defined(NOPORTDOCS)
	@@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>
@


1.3
log
@Welcome bsd.perl.mk.  Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.2
log
@remove USE_REINPLACE
@
text
@a28 6
.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=		requires perl 5.6 or higher - see the lang/perl5.8 port
.endif

d48 1
a48 1
.include <bsd.port.post.mk>
@


1.1
log
@Add ipfwcount 0.2.1, summarise ipfw logs by counting and sorting the
fields.

PR:		ports/92454
Submitted by:	Robert Archer <freebsd@@deathbeforedecaf.net>
Approved by:	tobez
@
text
@a21 1
USE_REINPLACE=	yes
@

