aboutsummaryrefslogtreecommitdiff
path: root/security/py-PF
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-02-27 13:09:23 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-02-27 13:09:23 +0000
commit3c2358f950ac64c7eeef854fc257dd0b0efe6dba (patch)
treefc32d24f6c770d961b644b12ad17997a8938f94f /security/py-PF
parent157d1ea0c83e5740a0818eb07ac5a7e5ad55c4f1 (diff)
downloadports-3c2358f950ac64c7eeef854fc257dd0b0efe6dba.tar.gz
ports-3c2358f950ac64c7eeef854fc257dd0b0efe6dba.zip
Notes
Diffstat (limited to 'security/py-PF')
-rw-r--r--security/py-PF/Makefile9
-rw-r--r--security/py-PF/distinfo5
2 files changed, 10 insertions, 4 deletions
diff --git a/security/py-PF/Makefile b/security/py-PF/Makefile
index a04042364e48..d3434b5392b6 100644
--- a/security/py-PF/Makefile
+++ b/security/py-PF/Makefile
@@ -6,21 +6,28 @@
#
PORTNAME= PF
-PORTVERSION= 0.0.4
+PORTVERSION= 0.0.5
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= sbrabez@gmail.com
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-patch:
+ @${REINPLACE_CMD} -e 's#"0.0.4"#"0.0.5"#g' ${WRKSRC}/setup.py
+
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
diff --git a/security/py-PF/distinfo b/security/py-PF/distinfo
index 84c995c3caa9..e9a231f728ad 100644
--- a/security/py-PF/distinfo
+++ b/security/py-PF/distinfo
@@ -1,3 +1,2 @@
-MD5 (py-PF-0.0.4.tar.gz) = 1bfae82e3ad334941a620a05ba884e4a
-SHA256 (py-PF-0.0.4.tar.gz) = f49b4550cbf6fb8cc3ef5cfdf3dfe99c36632ddb6554fc7420e37c985a948a95
-SIZE (py-PF-0.0.4.tar.gz) = 28765
+SHA256 (py-PF-0.0.5.tgz) = d183081916469345532c514dba1c055fa8d3e0d228f057be485c316915d9784f
+SIZE (py-PF-0.0.5.tgz) = 30383