aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-04-07 07:01:33 +0800
committerantoine <antoine@FreeBSD.org>2014-04-07 07:01:33 +0800
commitec7b005a76bce2b5ae2df2d0ac26490a0e19e869 (patch)
treee06f425983c263cd3624c40c1c5c78acc0b0fc12 /security
parent7044b5f8e91bc7a8820d4e5a9ead6af60a7c0282 (diff)
downloadfreebsd-ports-gnome-ec7b005a76bce2b5ae2df2d0ac26490a0e19e869.tar.gz
freebsd-ports-gnome-ec7b005a76bce2b5ae2df2d0ac26490a0e19e869.tar.zst
freebsd-ports-gnome-ec7b005a76bce2b5ae2df2d0ac26490a0e19e869.zip
Distfile rerolled with a license file and some examples
Diffstat (limited to 'security')
-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