Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2011 16:22:24 +0200 (CEST)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        fischer.frank@gmail.com
Subject:   ports/156174: [PATCH] lang/abcl: add executable wrapper
Message-ID:  <201104041422.p34EMOA8006402@backoffice.colby.local>
Resent-Message-ID: <201104041430.p34EU8GB015311@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104041422.p34EMOA8006402>