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


1.7
date	2012.11.17.06.01.05;	author svnexp;	state Exp;
branches;
next	1.6;

1.6
date	2007.09.08.01.03.50;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2006.06.03.15.09.47;	author sat;	state Exp;
branches;
next	1.4;

1.4
date	2006.01.28.20.45.49;	author mnag;	state Exp;
branches;
next	1.3;

1.3
date	2006.01.19.14.58.56;	author tdb;	state Exp;
branches;
next	1.2;

1.2
date	2005.12.28.17.46.07;	author erwin;	state Exp;
branches;
next	1.1;

1.1
date	2005.12.22.15.52.43;	author foxfair;	state Exp;
branches;
next	;


desc
@@


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

PORTNAME=	ipfcount
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 ipf logs by counting and sorting the fields

PLIST_FILES=	bin/ipfcount
MAN1=		ipfcount.1

USE_PERL5=	yes

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

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

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

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

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

.include <bsd.port.mk>
@


1.6
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.5
log
@- Example files should not be installed if NOPORTDOCS is defined

PR:		ports/97355
Submitted by:	Robert Archer <freebsd@@deathbeforedecaf.net> (maintainer)
@
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.4
log
@Update to 0.2.1

PR:		92453
Submitted by:	Robert Archer <freebsd@@deathbeforedecaf.net> (maintainer)
@
text
@d10 1
d18 2
a19 3
PLIST_FILES=	bin/ipfcount \
		%%EXAMPLESDIR%%/100.ipfcount
PLIST_DIRS=	%%EXAMPLESDIR%%
d21 1
a21 1
MAN1=		ipfcount.1
d23 3
d27 1
a27 2

USE_PERL5=	yes
d44 1
d47 1
d50 1
d52 1
@


1.3
log
@- Update to 0.2

PR:		91998
Submitted by:	Robert Archer <freebsd@@deathbeforedecaf.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.2
a25 1
USE_REINPLACE=	yes
d34 1
a34 1
	${REINPLACE_CMD} -e '1s,^#![^ ]*,#!${PERL},' ${WRKSRC}/ipfcount
@


1.2
log
@Fix a typo in check for installed perl version so it actually
fails with perl 5.005_03

PR:		91024
Submitted by:	Robert Archer <freebsd@@deathbeforedecaf.net> (maintainer),
		Jarrod Sayers <jarrod@@netleader.com.au>
@
text
@d9 1
a9 2
PORTVERSION=	0.1
PORTREVISION=	1
@


1.1
log
@Add ipfcount 0.1, summarise ipf logs by counting and sorting the fields.

PR:		ports/90811
Submitted by:	Robert Archer <freebsd@@deathbeforedecaf.net>
@
text
@d10 1
d31 1
a31 1
.if ${PERL_LEVEL} < 5006
@

