ports/133821: [PATCH] net/py-pcapy: Fix mtree error
Yi-Jheng Lin
yzlin at cs.nctu.edu.tw
Fri Apr 17 18:30:04 UTC 2009
>Number: 133821
>Category: ports
>Synopsis: [PATCH] net/py-pcapy: Fix mtree error
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 17 18:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Yi-Jheng Lin
>Release: FreeBSD 7.1-RELEASE-p4 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD yzlin 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Wed Mar 25 12:10:16 CST 2009
>Description:
- Fix mtree error
Added file(s):
- files/patch-setup.py
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- py-pcapy-0.10.5_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/py-pcapy/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 16 Dec 2008 05:25:04 -0000 1.5
+++ Makefile 17 Apr 2009 18:20:22 -0000
@@ -5,6 +5,7 @@
PORTNAME= pcapy
PORTVERSION= 0.10.5
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= http://oss.coresecurity.com/repo/ \
http://www.yazzy.org/ports/pcapy/
@@ -16,7 +17,15 @@
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+
PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcapy.so
PORTDOCS= README LICENSE pcapy.html
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
Index: files/patch-setup.py
===================================================================
RCS file: files/patch-setup.py
diff -N files/patch-setup.py
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-setup.py 17 Apr 2009 18:20:22 -0000
@@ -0,0 +1,12 @@
+--- setup.py.orig
++++ setup.py
+@@ -60,7 +60,7 @@
+ include_dirs = include_dirs,
+ library_dirs = library_dirs,
+ libraries = libraries)],
+- data_files = [(os.path.join('share', 'doc', PACKAGE_NAME),
+- ['README', 'LICENSE', 'pcapy.html'])],
++# data_files = [(os.path.join('share', 'doc', PACKAGE_NAME),
++# ['README', 'LICENSE', 'pcapy.html'])],
+ )
+
--- py-pcapy-0.10.5_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list