ports/156174: [PATCH] lang/abcl: add executable wrapper
Jimmy Olgeni
olgeni at FreeBSD.org
Mon Apr 4 14:30:09 UTC 2011
>Number: 156174
>Category: ports
>Synopsis: [PATCH] lang/abcl: add executable wrapper
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 04 14:30:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jimmy Olgeni
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
>Description:
Add executable wrapper in local/bin.
Added file(s):
- files/abcl.in
Port maintainer (fischer.frank at gmail.com) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- abcl-0.24.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/abcl/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile 17 Feb 2011 01:08:57 -0000 1.7
+++ Makefile 4 Apr 2011 14:20:09 -0000
@@ -14,7 +14,11 @@
MAINTAINER= fischer.frank at gmail.com
COMMENT= An implementation of ANSI Common Lisp in Java
-PLIST_FILES= share/java/classes/abcl.jar
+PLIST_FILES= share/java/classes/abcl.jar \
+ bin/abcl
+
+SUB_LIST+= JAVAJARDIR="${JAVAJARDIR}"
+SUB_FILES= abcl
USE_JAVA= yes
JAVA_VERSION= 1.5
@@ -22,5 +26,6 @@
do-install:
@${INSTALL_DATA} -v ${WRKSRC}/dist/abcl.jar ${JAVAJARDIR}
+ @${INSTALL_SCRIPT} ${WRKDIR}/abcl ${PREFIX}/bin/abcl
.include <bsd.port.mk>
Index: files/abcl.in
===================================================================
RCS file: files/abcl.in
diff -N files/abcl.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/abcl.in 4 Apr 2011 14:20:09 -0000
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec java -cp %%JAVAJARDIR%%/abcl.jar:"$CLASSPATH" org.armedbear.lisp.Main "$@"
--- abcl-0.24.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list