Re: build a port that depends on Java



Hi,

On Wed, 9 Dec 2009 05:00:34 +0000
Frank Shute <frank@xxxxxxxxxxxx> 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/
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: build a port that depends on Java
    ... kinds of Java and don't know which one should be used. ... Should I convert that file to `.tar.gz` format and redistribute in ... The porter's handbook tells you how to go about writing a Makefile. ...
    (freebsd-questions)
  • Re: How to develop without an IDE?
    ... Interestingly GNU make's large built in rule database does not contain anything related to compiling Java. ... other files that I want to 'update' in my tree. ... Here is a link showing Makefile for Java from the best book ... independent of what the IDE has. ...
    (comp.lang.java.programmer)
  • Re: ELF dynamic loader name [was: sbrk(2) broken]
    ... (lang/drscheme in ports) ... twinhead# make install ... Java HotSpotServer VM (build ... Java2 Runtime Environment, Standard Edition ...
    (freebsd-current)
  • Re: Java and make
    ... My makefile captures this as: ... make discovers a cyclic dependency and drops it. ... I believe make will not have problems of this kind in the context of C/ ... dependencies in Java programs where we don't have a seperate header ...
    (comp.lang.java.programmer)
  • jdk13 native plugin stopped working on native mozilla on -CURRENT
    ... answer rather than tromping off to ports or java. ... I get an unresloved symbol at mozilla ... Undefined symbol "_ZTV16nsQueryInterface"] ...
    (freebsd-hackers)