From owner-freebsd-questions@FreeBSD.ORG Wed Dec 9 06:09:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 301161065670 for ; Wed, 9 Dec 2009 06:09:11 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id F10448FC17 for ; Wed, 9 Dec 2009 06:09:10 +0000 (UTC) Received: by pxi28 with SMTP id 28so1762983pxi.7 for ; Tue, 08 Dec 2009 22:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:cc:subject :message-id:in-reply-to:references:organization:x-operating-system :x-mailer:user-agent:x-face:face:mime-version:content-type :content-transfer-encoding; bh=1KwJL0joyuXncZV3pszZ2YYgM1jZPRRDIqcQ/pRANsM=; b=C4wasa5TTWPLL6qQbkh2ajkPc1zEuYnHMr9XiGNAWuyh1A5TErWonkic7NKOzI0ufg QB0LhaEST7+7UGTA2bfG8KJlLGmObJaO05PUD02yc6sEuCaRomD2wlnpEllj7oHNeuZP thZuPta167Tq0nVjltUd7z3LUCjbUp5pNf4Wg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:cc:subject:message-id:in-reply-to:references:organization :x-operating-system:x-mailer:user-agent:x-face:face:mime-version :content-type:content-transfer-encoding; b=I1OWMfM11t4hSF4bNXA+byHj/gUd774NFHwHCjZleiZxdOwYy/URNdz/74txrKzN+3 QPxpeMrbgG9J+0sqLtLsc6rSoROOePp7/wrNlvdj9BZ9bJtsyWS4xAOTjuRJ7IP1Vlof wczh4N91Lbki9+sR28wtL4dDhoT3TCy9gGP6I= Received: by 10.114.214.22 with SMTP id m22mr17519955wag.218.1260338950412; Tue, 08 Dec 2009 22:09:10 -0800 (PST) Received: from icy.localdomain ([118.69.224.251]) by mx.google.com with ESMTPS id 20sm6639976pzk.13.2009.12.08.22.09.08 (version=SSLv3 cipher=RC4-MD5); Tue, 08 Dec 2009 22:09:10 -0800 (PST) Date: Wed, 9 Dec 2009 13:08:19 +0700 From: "Anh Ky Huynh" Message-ID: <20091209130819.1176da0f@icy.localdomain> In-Reply-To: <20091209050034.GA53937@orange.esperance-linux.co.uk> References: <20091209095737.63be955a@icy.localdomain> <20091209050034.GA53937@orange.esperance-linux.co.uk> Organization: Vietnamese TeX Users Group X-Operating-System: Windows 98 X-Mailer: Moveup mail client (windows 98) User-Agent: Moveup mail on Windows 98 X-Face: no-face Face: no-face Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Frank Shute , freebsd-questions@freebsd.org Subject: Re: build a port that depends on Java X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2009 06:09:11 -0000 Hi, On Wed, 9 Dec 2009 05:00:34 +0000 Frank Shute wrote: > On Wed, Dec 09, 2009 at 09:57:37AM +0700, Anh K. Hu???nh wrote: > > > > I am going to build a port (named `vue`, http://vue.tufts.edu/) > > that depends on Java libraries but I don't know how to set the > > dependencies (the RUN_DEPENDS variable in `Makefile`). I know some > > kinds of Java and don't know which one should be used. At least, > > Vue works well with OpenJDK6. > > You want to have a look at the Makefiles of other programs that use > java. E.g azureus > > $ less /usr/ports/net-p2p/azureus/Makefile Thank you. azureus' Makefile is very comprehensive. > > site?). Though using > > "EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip" is possible I > > think such usage is so expensive :) > > I think that you use: > > USE_ZIP= yes > > It's mentioned in the porter's handbook which you should read. You > can also find out by looking at a Makefile again E.g print/cm-super I've just seen that and some other USER_* in handbook :) > The porter's handbook tells you how to go about writing a Makefile. > Any questions you may have about porting software should be > addressed to ports@, IIRC. > > Porters Handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ > I've registered at ports@. I'm sorry for my noise here. Regards, -- Anh Ky Huynh - TeX: http://viettug.org/ - BSD: http://lovebsd.net/