View | Details | Raw Unified | Return to bug 133821
Collapse All | Expand All

(-)Makefile (+9 lines)
Lines 5-10 Link Here
5
5
6
PORTNAME=	pcapy
6
PORTNAME=	pcapy
7
PORTVERSION=	0.10.5
7
PORTVERSION=	0.10.5
8
PORTREVISION=	1
8
CATEGORIES=	net python
9
CATEGORIES=	net python
9
MASTER_SITES=	http://oss.coresecurity.com/repo/ \
10
MASTER_SITES=	http://oss.coresecurity.com/repo/ \
10
		http://www.yazzy.org/ports/pcapy/
11
		http://www.yazzy.org/ports/pcapy/
Lines 16-22 Link Here
16
USE_PYTHON=	yes
17
USE_PYTHON=	yes
17
USE_PYDISTUTILS=	yes
18
USE_PYDISTUTILS=	yes
18
19
20
DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
21
19
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/pcapy.so
22
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/pcapy.so
20
PORTDOCS=	README LICENSE pcapy.html
23
PORTDOCS=	README LICENSE pcapy.html
21
24
25
.if !defined(NOPORTDOCS)
26
post-install:
27
	@${MKDIR} ${DOCSDIR}
28
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
29
.endif
30
22
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)files/patch-setup.py (+12 lines)
Added Link Here
1
--- setup.py.orig
2
+++ setup.py
3
@@ -60,7 +60,7 @@
4
           include_dirs = include_dirs,
5
           library_dirs = library_dirs,
6
           libraries = libraries)],
7
-      data_files = [(os.path.join('share', 'doc', PACKAGE_NAME),
8
-                     ['README', 'LICENSE', 'pcapy.html'])],
9
+#      data_files = [(os.path.join('share', 'doc', PACKAGE_NAME),
10
+#                     ['README', 'LICENSE', 'pcapy.html'])],
11
       )
12
 

Return to bug 133821