aboutsummaryrefslogtreecommitdiff
path: root/security/py-cybox
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-04-07 17:10:53 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-04-07 17:10:53 +0000
commit5476a67b95d45bd58f8cd5b5b077247371d9006d (patch)
tree1f936d21e6b4882b12f078980a0c01b4000fd178 /security/py-cybox
parentc2686046da32f60b62521b065aaa8b4f744574e4 (diff)
downloadports-5476a67b95d45bd58f8cd5b5b077247371d9006d.tar.gz
ports-5476a67b95d45bd58f8cd5b5b077247371d9006d.zip
MFH: r350421
Distfile rerolled with a license file and some examples Approved by: portmgr (self)
Notes
Notes: svn path=/branches/2014Q2/; revision=350528
Diffstat (limited to 'security/py-cybox')
-rw-r--r--security/py-cybox/Makefile7
-rw-r--r--security/py-cybox/distinfo4
2 files changed, 8 insertions, 3 deletions
diff --git a/security/py-cybox/Makefile b/security/py-cybox/Makefile
index 465426f5ada9..70489d374ed9 100644
--- a/security/py-cybox/Makefile
+++ b/security/py-cybox/Makefile
@@ -3,6 +3,7 @@
PORTNAME= cybox
PORTVERSION= 2.1.0.2
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +12,7 @@ MAINTAINER= antoine@FreeBSD.org
COMMENT= Python library for parsing, manipulating, and generating CybOX content
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:${PORTSDIR}/devel/py-dateutil \
${PYTHON_PKGNAMEPREFIX}lxml>=3.1:${PORTSDIR}/devel/py-lxml
@@ -20,11 +22,14 @@ USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=yes
PORTDOCS= README.rst
+PORTEXAMPLES= *
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/security/py-cybox/distinfo b/security/py-cybox/distinfo
index 1454c4c5a033..81b18d1b6295 100644
--- a/security/py-cybox/distinfo
+++ b/security/py-cybox/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cybox-2.1.0.2.tar.gz) = 2c4a765bb9bf75915f65953f1ad9e4732da0586e1eaf45dbd69ed7644ad42b29
-SIZE (cybox-2.1.0.2.tar.gz) = 862124
+SHA256 (cybox-2.1.0.2.tar.gz) = 02bb2e4c79b7d94ed15ff4818ad684d1d8173fb4b31890a00939766cb8152d67
+SIZE (cybox-2.1.0.2.tar.gz) = 868546