From e41d0ca355e2d4c2a7c16f9b5b863375f6b761c0 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Mon, 28 Jan 2002 11:28:22 +0000 Subject: Add jythonc to the symlinks in bin/. Also create the links from pkg-plist for better binary package support. Approved by: maintainer --- lang/jython/Makefile | 1 + lang/jython/pkg-plist | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'lang') diff --git a/lang/jython/Makefile b/lang/jython/Makefile index d509bf428b90..9bee7cf60249 100644 --- a/lang/jython/Makefile +++ b/lang/jython/Makefile @@ -34,6 +34,7 @@ do-install: # symbolic links for convenience -${LN} -sf ${JYTHON_PREFIX}/jython ${PREFIX}/bin/jython + -${LN} -sf ${JYTHON_PREFIX}/jythonc ${PREFIX}/bin/jythonc -${LN} -sf ${JYTHON_PREFIX}/registry ${PREFIX}/etc/jython.reg .include diff --git a/lang/jython/pkg-plist b/lang/jython/pkg-plist index 624c2c16811b..5c74542f000a 100644 --- a/lang/jython/pkg-plist +++ b/lang/jython/pkg-plist @@ -1,5 +1,6 @@ -@unexec rm -f %%LOCALBASE%%/bin/jython -@unexec rm -f %%LOCALBASE%%/etc/jython.reg +bin/jython +bin/jythonc +etc/jython.reg %%JYTHON_DIR%%/ACKNOWLEDGMENTS %%JYTHON_DIR%%/Demo/applet/ButtonDemo.py %%JYTHON_DIR%%/Demo/applet/ButtonFontDemo.py @@ -1096,6 +1097,9 @@ %%JYTHON_DIR%%/org/python/util/ReadlineConsole.java %%JYTHON_DIR%%/org/python/util/jython.java %%JYTHON_DIR%%/registry +@exec ln -sf %B/jython %%PREFIX%%/bin/ +@exec ln -sf %B/jythonc %%PREFIX%%/bin/ +@exec ln -sf %B/registry %%PREFIX%%/etc/jython.reg @dirrm %%JYTHON_DIR%%/org/python/util @dirrm %%JYTHON_DIR%%/org/python/rmi @dirrm %%JYTHON_DIR%%/org/python/parser @@ -1165,4 +1169,4 @@ @dirrm %%JYTHON_DIR%%/Demo/awt @dirrm %%JYTHON_DIR%%/Demo/applet @dirrm %%JYTHON_DIR%%/Demo -@dirrm %%JYTHON_DIR%% +@unexec rmdir %%JYTHON_DIR%% 2>/dev/null || true -- cgit v1.2.3