aboutsummaryrefslogtreecommitdiffstats
path: root/lang/jython
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2002-01-28 19:28:22 +0800
committerolgeni <olgeni@FreeBSD.org>2002-01-28 19:28:22 +0800
commiteb51f7017f9ceee8907a9c3eb8c535e759fa3ccf (patch)
tree20d8ebc789254d66622b2e75d06a0be1d8d72ef7 /lang/jython
parent067436717cdd2cf07242430805d31e2d7ccffcb3 (diff)
downloadfreebsd-ports-graphics-eb51f7017f9ceee8907a9c3eb8c535e759fa3ccf.tar.gz
freebsd-ports-graphics-eb51f7017f9ceee8907a9c3eb8c535e759fa3ccf.tar.zst
freebsd-ports-graphics-eb51f7017f9ceee8907a9c3eb8c535e759fa3ccf.zip
Add jythonc to the symlinks in bin/. Also create the links from pkg-plist
for better binary package support. Approved by: maintainer
Diffstat (limited to 'lang/jython')
-rw-r--r--lang/jython/Makefile1
-rw-r--r--lang/jython/pkg-plist10
2 files changed, 8 insertions, 3 deletions
diff --git a/lang/jython/Makefile b/lang/jython/Makefile
index d509bf428b9..9bee7cf6024 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 <bsd.port.mk>
diff --git a/lang/jython/pkg-plist b/lang/jython/pkg-plist
index 624c2c16811..5c74542f000 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