From owner-freebsd-ports@FreeBSD.ORG Sat Sep 16 15:00:15 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D05FB16A407 for ; Sat, 16 Sep 2006 15:00:15 +0000 (UTC) (envelope-from adam@adamretter.eclipse.co.uk) Received: from mra03.ch.as12513.net (mra03.ch.as12513.net [82.153.254.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D19043D49 for ; Sat, 16 Sep 2006 15:00:14 +0000 (GMT) (envelope-from adam@adamretter.eclipse.co.uk) Received: from localhost (localhost [127.0.0.1]) by mra03.ch.as12513.net (Postfix) with ESMTP id 9C535D4488 for ; Sat, 16 Sep 2006 16:00:12 +0100 (BST) Received: from mra03.ch.as12513.net ([127.0.0.1]) by localhost (mra03.ch.as12513.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24643-01-66 for ; Sat, 16 Sep 2006 16:00:12 +0100 (BST) Received: from funkalicious.home.dom (unknown [82.152.93.225]) by mra03.ch.as12513.net (Postfix) with ESMTP id C8D8ED4439 for ; Sat, 16 Sep 2006 16:00:11 +0100 (BST) From: Adam Retter To: freebsd-ports@freebsd.org Content-Type: multipart/mixed; boundary="=-UOOuvUmDf870PFnG4O6U" Date: Sat, 16 Sep 2006 16:00:24 +0100 Message-Id: <1158418824.53100.5.camel@funkalicious.home.dom> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port X-Virus-Scanned: by Eclipse VIRUSshield at eclipse.net.uk X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: port for eXist (Java) with no build step X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 15:00:15 -0000 --=-UOOuvUmDf870PFnG4O6U Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello chaps, I am tying to create a port for the eXist XML Native Database, when you download eXist it comes as an izPack installer jar file. I have created a Makefile for my port which correctly downloads the jar into /usr/ports/distfiles and requires diablo jdk 1.5. Now what I want to do in my Makefile is skip the build step and run the following command - java -jar /usr/ports/distfiles/{$PORTNAME}-{$PORTVERSION}.{EXTRACT_SUFFIX} org.exist.izpack.CommandLineInstaller -p /usr/local/eXist Which will install eXist into /usr/local/eXist. The eXist distribution includes both a compiled ready to run version and the src files. So how can I skip the build step and run that command to install the distribution. Also im wondering on the best way to generate either a static or dynamic pkg-list for this type of deployment? Attached is my currect Makefile (work in progress). Thanks Adam. --=-UOOuvUmDf870PFnG4O6U--