diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-27 15:23:02 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-27 15:23:02 +0000 |
commit | 7886834838d525ae3f225dfd3e1fa888f63492b8 (patch) | |
tree | d70c0d329f5637514e9a631135a218b225878af1 /archivers | |
parent | 6c2d100fde678ac760a18e4c90c592d345aad796 (diff) | |
download | ports-7886834838d525ae3f225dfd3e1fa888f63492b8.tar.gz ports-7886834838d525ae3f225dfd3e1fa888f63492b8.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/py-tarfile/Makefile | 38 | ||||
-rw-r--r-- | archivers/py-tarfile/distinfo | 1 | ||||
-rw-r--r-- | archivers/py-tarfile/pkg-comment | 1 | ||||
-rw-r--r-- | archivers/py-tarfile/pkg-descr | 5 | ||||
-rw-r--r-- | archivers/py-tarfile/pkg-plist | 6 |
6 files changed, 52 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 33ac4e77ca8a..b31a9a601d39 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -36,6 +36,7 @@ SUBDIR += pkzip SUBDIR += ppunpack SUBDIR += py-bzip2 + SUBDIR += py-tarfile SUBDIR += rar SUBDIR += rpm SUBDIR += rpm2cpio diff --git a/archivers/py-tarfile/Makefile b/archivers/py-tarfile/Makefile new file mode 100644 index 000000000000..77d2e2e710fa --- /dev/null +++ b/archivers/py-tarfile/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: py-tarfile +# Date created: 26 March 2002 +# Whom: Hye-Shik Chang <perky@fallin.lv> +# +# $FreeBSD$ +# + +PORTNAME= tarfile +PORTVERSION= 0.3 +CATEGORIES= archivers python +MASTER_SITES= http://www.gustaebel.de/lars/tarfile/ \ + http://www3.kr.freebsd.org/~perky/distfiles/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= perky@fallin.lv + +USE_PYTHON= yes +SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 200 +IGNORE= needs Python 2.0 at least +.else +.if ${PYTHON_REL} < 220 +PLIST_SUB+= UNDERPY22="" +.else +PLIST_SUB+= UNDERPY22="@comment " +.endif +.endif + +do-build: + ${SETUP_CMD} build + +do-install: + ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} + +.include <bsd.port.post.mk> diff --git a/archivers/py-tarfile/distinfo b/archivers/py-tarfile/distinfo new file mode 100644 index 000000000000..0c651a813e87 --- /dev/null +++ b/archivers/py-tarfile/distinfo @@ -0,0 +1 @@ +MD5 (tarfile-0.3.tar.gz) = 68a105ddc29c39bdeedf6a4640369d70 diff --git a/archivers/py-tarfile/pkg-comment b/archivers/py-tarfile/pkg-comment new file mode 100644 index 000000000000..f6ac391f3798 --- /dev/null +++ b/archivers/py-tarfile/pkg-comment @@ -0,0 +1 @@ +Python library for reading and writing tarballs diff --git a/archivers/py-tarfile/pkg-descr b/archivers/py-tarfile/pkg-descr new file mode 100644 index 000000000000..73befa602d25 --- /dev/null +++ b/archivers/py-tarfile/pkg-descr @@ -0,0 +1,5 @@ +Tarfile is a comprehensive implementation of the TAR archive +format for the Python Language as a module. It enables read/write +access to common TAR archives including all specialities. + +WWW: http://www.gustaebel.de/lars/tarfile/ diff --git a/archivers/py-tarfile/pkg-plist b/archivers/py-tarfile/pkg-plist new file mode 100644 index 000000000000..85a425b2a793 --- /dev/null +++ b/archivers/py-tarfile/pkg-plist @@ -0,0 +1,6 @@ +lib/%%PYTHON_VERSION%%/site-packages/tarfile.py +lib/%%PYTHON_VERSION%%/site-packages/tarfile.pyc +lib/%%PYTHON_VERSION%%/site-packages/tarfile.pyo +%%UNDERPY22%%lib/%%PYTHON_VERSION%%/site-packages/gzip22.py +%%UNDERPY22%%lib/%%PYTHON_VERSION%%/site-packages/gzip22.pyc +%%UNDERPY22%%lib/%%PYTHON_VERSION%%/site-packages/gzip22.pyo |