diff options
author | tsarna <tsarna> | 1998-07-22 01:56:09 +0000 |
---|---|---|
committer | tsarna <tsarna> | 1998-07-22 01:56:09 +0000 |
commit | 30fe4bdb1177ce136b967f2317b6d3a9b7d8afda (patch) | |
tree | 6638577e0d5119e8b15412d8843e5593be21bdde /www | |
parent | b8b9abb1bf9ba7f6f19bc26a308f20dc51b9f0b0 (diff) | |
download | pkgsrc-30fe4bdb1177ce136b967f2317b6d3a9b7d8afda.tar.gz |
Add new package by me for Grail, CNRI's Python-based web browser.
Diffstat (limited to 'www')
-rw-r--r-- | www/grail/Makefile | 39 | ||||
-rw-r--r-- | www/grail/files/grail | 4 | ||||
-rw-r--r-- | www/grail/files/md5 | 1 | ||||
-rw-r--r-- | www/grail/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/grail/pkg/DESCR | 5 | ||||
-rw-r--r-- | www/grail/pkg/PLIST.pre | 2 |
6 files changed, 52 insertions, 0 deletions
diff --git a/www/grail/Makefile b/www/grail/Makefile new file mode 100644 index 00000000000..15406b0ce8b --- /dev/null +++ b/www/grail/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1 1998/07/22 01:56:09 tsarna Exp $ +# + +DISTNAME= grail_04 +PKGNAME= grail-0.4 +CATEGORIES= www +MASTER_SITES= http://monty.cnri.reston.va.us/grail-0.4/source/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tsarna@netbsd.org + +DEPENDS+= python-1.5.1:../../lang/python +DEPENDS+= py-Tk-1.5.1:../../x11/py-Tk + +EXTRACT_ONLY= +NO_CONFIGURE= yes +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/grail-0.4 +GRAILBASE= share/misc +GRAILDIR= ${GRAILBASE}/grail-0.4 +PLIST_SRC= ${WRKDIR}/.PLIST_SRC + +do-install: + ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} + ${SED} -e "s,@PREFIX@,${PREFIX}," -e "s,@GRAILDIR@,${GRAILDIR}," \ + <${FILESDIR}/grail >${PREFIX}/bin/grail + chmod 555 ${PREFIX}/bin/grail + (cd ${PREFIX}/${GRAILBASE}; \ + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ + ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ + ${EXTRACT_AFTER_ARGS}) + ${PREFIX}/bin/python \ + ${PREFIX}/lib/python1.5/compileall.py ${PREFIX}/${GRAILDIR} + (cd ${PREFIX}; find ${GRAILDIR} -type f -print >>${PLIST_SRC}) + (cd ${PREFIX}; find -d ${GRAILDIR} -type d -print | \ + ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}) + +.include "../../mk/bsd.pkg.mk" diff --git a/www/grail/files/grail b/www/grail/files/grail new file mode 100644 index 00000000000..327a40cc667 --- /dev/null +++ b/www/grail/files/grail @@ -0,0 +1,4 @@ +#! /bin/sh +# $NetBSD: grail,v 1.1 1998/07/22 01:58:19 tsarna Exp $ +exec @PREFIX@/bin/python \ + @PREFIX@/@GRAILDIR@/grail.pyc ${1+"$@"} diff --git a/www/grail/files/md5 b/www/grail/files/md5 new file mode 100644 index 00000000000..1080f2fd480 --- /dev/null +++ b/www/grail/files/md5 @@ -0,0 +1 @@ +MD5 (grail_04.tgz) = bb8af9498f745dfcab0b9a1e4e86efd8 diff --git a/www/grail/pkg/COMMENT b/www/grail/pkg/COMMENT new file mode 100644 index 00000000000..89b105f2471 --- /dev/null +++ b/www/grail/pkg/COMMENT @@ -0,0 +1 @@ +Grail(TM) is a web browser written in Python. diff --git a/www/grail/pkg/DESCR b/www/grail/pkg/DESCR new file mode 100644 index 00000000000..49e3b213b8a --- /dev/null +++ b/www/grail/pkg/DESCR @@ -0,0 +1,5 @@ +GRAIL 0.4 + +Grail(TM) is a web browser written in Python, an object-oriented +scripting language. Grail is from the Center for National Research +Initiatives. See share/misc/grail-0.4/LICENSE for the license terms. diff --git a/www/grail/pkg/PLIST.pre b/www/grail/pkg/PLIST.pre new file mode 100644 index 00000000000..5472648c428 --- /dev/null +++ b/www/grail/pkg/PLIST.pre @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST.pre,v 1.1 1998/07/22 01:59:51 tsarna Exp $ +bin/grail |