aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-PF/Makefile
blob: 27c61da410a69973a78df5a0bb4b15004681fc32 (plain) (blame)
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
31
32
33
# New ports collection makefile for:    py-PF
# Date created:     2009-02-07
# Whom:         Sofian Brabez <sbrabez@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   PF
PORTVERSION=    0.0.6
CATEGORIES= security python
MASTER_SITES=   SF/py-${PORTNAME:L}/py-${PORTNAME:L}/${DISTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PYTHON_PKGNAMEPREFIX:C/[0-9]+//}${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= sbz@FreeBSD.org
COMMENT=    A pure-Python module for managing OpenBSD Packet Filter

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_PYTHON= 2.5+
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    ${PYTHON_PKGNAMEPREFIX:C/[0-9]+//}_${PORTNAME}

SUB_FILES=  pkg-message

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

.include <bsd.port.mk>