aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-02-17 15:41:50 +0800
committerijliao <ijliao@FreeBSD.org>2004-02-17 15:41:50 +0800
commit1a6905322cd57bf52f65eee120bf8eb5a0158b0c (patch)
treef479914edb1a635af590273d6816826e33527b80 /devel
parentcddd1f64092e2c3224d4785d1fbbbe9d1ba24c31 (diff)
downloadfreebsd-ports-gnome-1a6905322cd57bf52f65eee120bf8eb5a0158b0c.tar.gz
freebsd-ports-gnome-1a6905322cd57bf52f65eee120bf8eb5a0158b0c.tar.zst
freebsd-ports-gnome-1a6905322cd57bf52f65eee120bf8eb5a0158b0c.zip
add py-resourcepackage 1.0.0
Automated resource-as-package embedding mechanism
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-resourcepackage/Makefile29
-rw-r--r--devel/py-resourcepackage/distinfo2
-rw-r--r--devel/py-resourcepackage/pkg-descr6
4 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 44d2446e3015..e0b3b70145f4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -980,6 +980,7 @@
SUBDIR += py-psyco
SUBDIR += py-px
SUBDIR += py-repl
+ SUBDIR += py-resourcepackage
SUBDIR += py-reverse
SUBDIR += py-rlcompleter2
SUBDIR += py-ro
diff --git a/devel/py-resourcepackage/Makefile b/devel/py-resourcepackage/Makefile
new file mode 100644
index 000000000000..4e2a07ec4ec1
--- /dev/null
+++ b/devel/py-resourcepackage/Makefile
@@ -0,0 +1,29 @@
+# ex:ts=8
+# Ports collection makefile for: py-resourcepackage
+# Date created: Feb 17, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= resourcepackage
+PORTVERSION= 1.0.0
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ResourcePackage-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Automated resource-as-package embedding mechanism
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+post-install:
+ @${FIND} ${PYTHON_SITELIBDIR}/resourcepackage -type f | \
+ ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
+ @${FIND} ${PYTHON_SITELIBDIR}/resourcepackage -type d | ${SORT} -r | \
+ ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/devel/py-resourcepackage/distinfo b/devel/py-resourcepackage/distinfo
new file mode 100644
index 000000000000..8b29ad17c432
--- /dev/null
+++ b/devel/py-resourcepackage/distinfo
@@ -0,0 +1,2 @@
+MD5 (ResourcePackage-1.0.0.tar.gz) = a6929d951f92527fad9e6d06cc59e80a
+SIZE (ResourcePackage-1.0.0.tar.gz) = 47464
diff --git a/devel/py-resourcepackage/pkg-descr b/devel/py-resourcepackage/pkg-descr
new file mode 100644
index 000000000000..e4b8e9dcd314
--- /dev/null
+++ b/devel/py-resourcepackage/pkg-descr
@@ -0,0 +1,6 @@
+ResourcePackage is a mechanism for automatically managing resources (i.e.
+non-Python files: small images, documentation files, binary data) embedded in
+Python modules (as Python source code), particularly for those wishing to
+create re-usable Python program.
+
+WWW: http://resoucepackage.sourceforge.net/