diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2007-08-27 07:45:23 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2007-08-27 07:45:23 +0000 |
commit | 4bd491fc9a66ca9729dcbccdb658eb4e381fd8b4 (patch) | |
tree | 9d4fb6eb2055b61ff6e64e66da379c4f16782242 /lang/jython/Makefile | |
parent | e7968cc9a34c963e1c1d2f72683760c9b2bc1396 (diff) |
- Update to 2.2.
- Pass maintainership to python@ team.
Notes
Notes:
svn path=/head/; revision=198361
Diffstat (limited to 'lang/jython/Makefile')
-rw-r--r-- | lang/jython/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lang/jython/Makefile b/lang/jython/Makefile index 0df7d690f9db..0569327aad25 100644 --- a/lang/jython/Makefile +++ b/lang/jython/Makefile @@ -6,16 +6,15 @@ # PORTNAME= jython -PORTVERSION= 2.1 -PORTREVISION= 3 +PORTVERSION= 2.2 CATEGORIES= lang python java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} -EXTRACT_SUFX= .class +DISTNAME= jython_installer-${PORTVERSION} +EXTRACT_SUFX= .jar EXTRACT_ONLY= # none -MAINTAINER= perky@FreeBSD.org +MAINTAINER= python@FreeBSD.org COMMENT= An implementation of Python Interpreter in Pure Java USE_JAVA= yes @@ -23,8 +22,7 @@ JAVA_VERSION= 1.3+ NO_BUILD= yes REINPLACE_ARGS= -i "" -INST_PACKAGES?= demo lib source -INST_TARGET?= ${DISTNAME:S/-//g} +INST_TARGET?= lib/jython${PORTVERSION:S/.//g} JYTHON_PREFIX= ${PREFIX}/${INST_TARGET} PLIST_SUB+= JYTHON_DIR=${INST_TARGET} @@ -36,8 +34,9 @@ do-install: @# not root). Furthermore, don't leave a cachedir around from either a @# port install or a package install, but do cache the *.py files in Lib @# during a port install or a package install. - cd ${DISTDIR} && ${JAVA} ${CACHEDIR_SPEC} -classpath . ${DISTNAME} \ - -o ${JYTHON_PREFIX} ${INST_PACKAGES} + cd ${DISTDIR} && ${JAVA} ${CACHEDIR_SPEC} \ + -jar ${DISTNAME}${EXTRACT_SUFX} \ + --silent -d ${JYTHON_PREFIX} -t standard ${REINPLACE_CMD} \ 's/-cl/"-Dpython.cachedir=$${HOME}\/.jython-cachedir" -cl/g' \ ${JYTHON_PREFIX}/jython |