summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-08-16 17:11:00 +0000
committerminskim <minskim@pkgsrc.org>2004-08-16 17:11:00 +0000
commit86312fd99ca5bddbf0a8b022f7904d6dc8d45d09 (patch)
tree5efd0089ea2e5400d5b25a76ca5315747e06baa3
parentadc7f8ef925d3a41a6b14d3fd66c22721faf2e05 (diff)
downloadpkgsrc-86312fd99ca5bddbf0a8b022f7904d6dc8d45d09.tar.gz
Initial import of py-funge. Packaged by Yi Min-Cheol.
PyFunge is a Funge-98 interpreter written in Python. It includes almost all of features found in the Funge-98 specification and also provides some other features like fingerprints. PyFunge is written in object- oriented fashion and designed to be extensible from ground up.
-rw-r--r--lang/py-funge/DESCR4
-rw-r--r--lang/py-funge/Makefile33
-rw-r--r--lang/py-funge/PLIST25
-rw-r--r--lang/py-funge/distinfo4
4 files changed, 66 insertions, 0 deletions
diff --git a/lang/py-funge/DESCR b/lang/py-funge/DESCR
new file mode 100644
index 00000000000..8aa01d5c190
--- /dev/null
+++ b/lang/py-funge/DESCR
@@ -0,0 +1,4 @@
+PyFunge is a Funge-98 interpreter written in Python. It includes almost
+all of features found in the Funge-98 specification and also provides
+some other features like fingerprints. PyFunge is written in object-
+oriented fashion and designed to be extensible from ground up.
diff --git a/lang/py-funge/Makefile b/lang/py-funge/Makefile
new file mode 100644
index 00000000000..b58b466d319
--- /dev/null
+++ b/lang/py-funge/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/16 17:11:00 minskim Exp $
+
+DISTNAME= pyfunge-0.2-beta1
+PKGNAME= ${PYPKGPREFIX}-funge-0.2beta1
+CATEGORIES= lang python
+MASTER_SITES= http://kldp.net/download.php/1270/
+
+MAINTAINER= fox9@netb.co.kr
+HOMEPAGE= http://pyfunge.kldp.net/
+COMMENT= Extensible Funge-98 interpreter written in Python
+
+NO_BUILD= yes
+NO_CONFIGURE= yes
+USE_BUILDLINK3= yes
+
+PYTHON_VERSIONS_ACCEPTED?= 23 23pth
+
+WRKSRC?= ${WRKDIR}/PyFunge
+PLIST_SUBST+= PYSITELIB=${PYSITELIB}
+
+PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/README.ko ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA_DIR} ${PREFIX}/${PYSITELIB}/PyFunge
+ cd ${WRKSRC} && ${PAX} -rwppm '-s|.*/README.ko||' \
+ . ${PREFIX}/${PYSITELIB}/PyFunge
+ ${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/${PYSITELIB}/PyFunge
+ ${PYTHONBIN} -O ${PYCOMPILEALL} ${PREFIX}/${PYSITELIB}/PyFunge
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/py-funge/PLIST b/lang/py-funge/PLIST
new file mode 100644
index 00000000000..9775d68f620
--- /dev/null
+++ b/lang/py-funge/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/16 17:11:00 minskim Exp $
+share/doc/${PKGBASE}/README.ko
+${PYSITELIB}/PyFunge/__init__.py
+${PYSITELIB}/PyFunge/__init__.pyc
+${PYSITELIB}/PyFunge/__init__.pyo
+${PYSITELIB}/PyFunge/exception.py
+${PYSITELIB}/PyFunge/exception.pyc
+${PYSITELIB}/PyFunge/exception.pyo
+${PYSITELIB}/PyFunge/execute.py
+${PYSITELIB}/PyFunge/execute.pyc
+${PYSITELIB}/PyFunge/execute.pyo
+${PYSITELIB}/PyFunge/ip.py
+${PYSITELIB}/PyFunge/ip.pyc
+${PYSITELIB}/PyFunge/ip.pyo
+${PYSITELIB}/PyFunge/platform.py
+${PYSITELIB}/PyFunge/platform.pyc
+${PYSITELIB}/PyFunge/platform.pyo
+${PYSITELIB}/PyFunge/space.py
+${PYSITELIB}/PyFunge/space.pyc
+${PYSITELIB}/PyFunge/space.pyo
+${PYSITELIB}/PyFunge/stack.py
+${PYSITELIB}/PyFunge/stack.pyc
+${PYSITELIB}/PyFunge/stack.pyo
+@dirrm share/doc/${PKGBASE}
+@dirrm ${PYSITELIB}/PyFunge
diff --git a/lang/py-funge/distinfo b/lang/py-funge/distinfo
new file mode 100644
index 00000000000..aa58c91e20a
--- /dev/null
+++ b/lang/py-funge/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/08/16 17:11:00 minskim Exp $
+
+SHA1 (pyfunge-0.2-beta1.tar.gz) = 98fa7f2411b0c026adeefb389a4370e8f1786eaa
+Size (pyfunge-0.2-beta1.tar.gz) = 17442 bytes