head	1.20;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.17
	RELEASE_7_3_0:1.17
	RELEASE_8_0_0:1.17
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.17
	RELEASE_6_4_0:1.17
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.10
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.20
date	2012.12.10.13.24.59;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.11.17.05.58.52;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2011.06.05.22.56.38;	author glewis;	state Exp;
branches;
next	1.17;

1.17
date	2007.05.19.20.13.43;	author flz;	state Exp;
branches;
next	1.16;

1.16
date	2006.08.06.07.23.35;	author stefan;	state Exp;
branches;
next	1.15;

1.15
date	2006.07.03.22.13.48;	author hq;	state Exp;
branches;
next	1.14;

1.14
date	2006.04.12.08.49.16;	author vs;	state Exp;
branches;
next	1.13;

1.13
date	2005.06.17.22.59.19;	author netchild;	state Exp;
branches;
next	1.12;

1.12
date	2005.05.14.16.42.55;	author hq;	state Exp;
branches;
next	1.11;

1.11
date	2005.04.08.18.50.42;	author linimon;	state Exp;
branches;
next	1.10;

1.10
date	2005.03.26.20.02.44;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2005.03.01.21.51.40;	author trevor;	state Exp;
branches;
next	1.8;

1.8
date	2004.12.31.18.24.00;	author netchild;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.04.05.21.39;	author marcus;	state Exp;
branches;
next	1.6;

1.6
date	2003.08.18.06.00.21;	author daichi;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.21.12.35.04;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2003.01.03.18.26.38;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2002.12.14.23.09.05;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2002.11.16.23.54.04;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.19.04.10.22;	author will;	state Exp;
branches;
next	;


desc
@@


1.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308604
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308604 | bapt | 2012-12-10 13:18:28 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## Decommissioning java 1.5 (EOLed since October 2009):
## SVN ## suppress any reference to JAVA_VERSION=	1.5+ (part2)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: js@@jeannot.org
# $FreeBSD: head/lang/linux-j/Makefile 308604 2012-12-10 13:18:28Z bapt $

PORTNAME=	j
PORTVERSION=	504b
PORTREVISION=	2
CATEGORIES=	lang linux java
MASTER_SITES=	http://www.jsoftware.com/download/
PKGNAMEPREFIX=	linux-
DISTNAME=	j${PORTVERSION}_linux32
DIST_SUBDIR=	${PKGNAMEPREFIX}${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A general purpose programming language

RUN_DEPENDS=	javavm:${PORTSDIR}/java/javavmwrapper

USE_LINUX=	yes
USE_JAVA=	yes
JAVA_VERSION=	1.6+

ONLY_FOR_ARCHS=	i386

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

MAN1=		j-jconsole.1

SUB_FILES=	j-jconsole.sh jw.sh
SUB_LIST=	PORTVERSION=${PORTVERSION:S/b//g}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/j-jconsole.sh ${PREFIX}/bin/j-jconsole
	${INSTALL_SCRIPT} ${WRKSRC}/jw.sh ${PREFIX}/bin/jw
	${INSTALL_MAN} ${WRKSRC}/j${PORTVERSION:S/b//g}/system/extras/help/man/jconsole.1 ${PREFIX}/man/man1/${MAN1}
	@@${MKDIR} ${PREFIX}/lib/j
	cd ${WRKSRC}/j${PORTVERSION:S/b//g} && \
		${TAR} -cf - system user profile.ijs j.jar | \
			${TAR} -xf - -C ${PREFIX}/lib/j
	@@${FIND} ${PREFIX}/lib/j/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
	@@${FIND} ${PREFIX}/lib/j/ -type f -exec ${CHOWN} ${SHAREOWN} {} \;
	${INSTALL_PROGRAM} ${WRKSRC}/j${PORTVERSION:S/b//g}/jconsole ${PREFIX}/lib/j/jconsole
	${BRANDELF} -t Linux ${PREFIX}/lib/j/jconsole

post-install:
.if !defined(BATCH)
	@@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>
@


1.19
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:   linux-j
# Date created:        29 September 2001
# Whom:                js@@jeannot.org
#
# $FreeBSD: head/lang/linux-j/Makefile 300896 2012-07-14 13:54:48Z beat $
#
d20 1
a20 1
JAVA_VERSION=	1.5+
@


1.18
log
@. Specify a modern version of Java.
. Rename jconsole to j-jconsole to prevent conflict and remove CONFLICTS.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@a21 3
# Java 1.5 JDKs install ${PREFIX}/bin/jconsole
CONFLICTS=	diablo-jdk-1.5.0* jdk-1.5.0* linux-sun-jdk-1.5.0*

d24 1
a24 1
JAVA_VERSION=	1.3 1.4
d31 1
a31 1
MAN1=		jconsole.1
d33 1
a33 1
SUB_FILES=	jconsole.sh jw.sh
d37 1
a37 1
	${INSTALL_SCRIPT} ${WRKSRC}/jconsole.sh ${PREFIX}/bin/jconsole
d39 1
a39 1
	${INSTALL_MAN} ${WRKSRC}/j${PORTVERSION:S/b//g}/system/extras/help/man/${MAN1} ${PREFIX}/man/man1
@


1.16
log
@- Fix permissions of installed files. [1]
- Use PKGNAMEPREFIX. [1]
- Fix dependency on javavmwrapper.

PR:		100963 [1]
Submitted by:	Stanislav Sedov <ssedov@@mbsd.msk.ru> [1]
Approved by:	arved (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.15
log
@- Better set CONFLICTS: all Java 1.5 JDKs install ${PREFIX}/bin/jconsole just
  like this port.
- Forbid dependency on any Java 1.5 JDK (this should unbreak build on
  pointyhat)
- Some portlint'ing while I am there

Reported by:	pointyhat via linimon
@
text
@d8 1
a8 1
PORTNAME=	linux-j
d10 1
d13 1
d15 1
a15 1
DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
d20 1
a20 1
RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper
d47 2
@


1.14
log
@Band aid: bin/jconsole CONFLICTS with recently released diablo-jdk-1.5.0
@
text
@d18 1
a18 1
CONFLICTS=	diablo-jdk-1.5.0*
d20 2
a21 1
RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper
d25 1
a25 1
JAVA_VERSION=	1.3+
@


1.13
log
@Mega-patch to cleanup the ports infrastructure regarding our linux bits:
  - USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
    tools to strip binaries anymore, so it's not neccesary anymore to override
    STRIP and STRIP_CMD.
  - USE_LINUX_PREFIX implies NO_MTREE now.
  - In the USE_LINUX case, USE_XLIB now depends upon the linux X11 libraries
    instead upon the native FreeBSD libraries.
  - The variable LINUX_BASE_PORT contains a string which is suitable as an
    item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
    default (or overriden) linux base, ${LINUX_BASE_PORT} should be used
    instead of a hardcoded reference.
  - Change all ports to comply to the "new world order".
  - The Ports Collection now allows to override the default linux_base port.
    Specify e.g. OVERRIDE_LINUX_BASE_PORT=rh-9 in /etc/make.conf to use
    ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use
    ${PORTSDIR}/emulators/linux_base-${OVERRIDE_LINUX_BASE_PORT}).
  - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
    port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
    be marked as IGNORE. [1]
  - Readd USE_LINUX knobs into several ports and make several uses of a
    conditional dependency ("USE_LINUX?=") into an unconditional one
    ("USE_LINUX=") which where removed/changed by Trevor to allow the use of
    alternative linux_base ports. While this is a nice goal, the implementation
    resulted in missing dependencies. The OVERRIDE_LINUX_BASE_PORT knob
    in this commit is supposed to fix the problem while keeping the feature.
    Basicaly this includes a backout of Trevor's commit, to prevent confusion
    I mention it here explicitely.
  - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for some ports.
    Chase dependencies for this.
  - Changes to make linux_devtools installable on amd64, remove some stray
    device nodes (they don't work on recent OS versions and aren't really
    needed).
  - Make linux_base-8 PREFIX clean and remove some stray device nodes.
    Additionally tell a little bit more about how to setup NIS/YP [2].
  - Update the PGSQL dependency in the linux-opengroupware port to a recent
    version (the old one isn't available anymore), I don't know if this
    works (at least it isn't more broken than before).
  - Use PREFIX/usr/share/doc instead of PREFIX/usr/doc in the divx4linux
    ports, the former path exists already and gets populated by other
    packages too (PREFIX=LINUXPREFIX!).
  - Fix some obvious (non-linuxolator) bugs in some linux ports while being
    there.
  - Bump PORTREVISION where neccesary.

Requested by:	portmgr (linimon) [1]
Submittted by:	Gerrit Kuehn <gerrit_huehn@@gruft.fido.de [2]
Approved by:	portmgr (kris, linimon), maintainers (or maintainer timeout)
Tested on:	ports cluster (kris)
Reviewed by:	silence on emulation@@
Superseedes PR:	69997

Maintainer approval from:
	chris@@chrisburkert.de
	cracauer@@cons.org
	des
	girgen
	jamie@@bishopston.net
	mezz
	mi
	nivit@@users.sf.net
        pat
	simond@@irrelevant.org
	riggs@@rrr.de
	Udo.Schweigert@@Siemens.com
@
text
@d18 2
@


1.12
log
@- Update to 504b (and unbreak)
- Update to bsd.java.mk 2.0
- Add 'java' category
- Use SUB_FILES to configure the launcher shell scripts
- Tweak pkg-descr
- Calm portlint: replace spaces by tabs
- Add $FreeBSD$ tags

PR:		80828
Submitted by:	Linh Pham <question+fbsdports@@closedsrc.org>
@
text
@d20 1
a20 1
USE_LINUX?=	yes
@


1.11
log
@Reset maintainer at his request.  This port is now available for adoption.

Note: the latest version is 504b.  This is probably why the ports is
marked as being unfetchable right now.
@
text
@d9 2
a10 3
PORTVERSION=	502a
PORTREVISION=	2
CATEGORIES=	lang linux
d12 2
a13 2
DISTNAME=	j${PORTVERSION}_linux
DIST_SUBDIR=    ${PORTNAME}/${PORTVERSION}
d18 1
a18 1
BROKEN=		Unfetchable
d21 2
a22 1
USE_JAVA=	1.3+
d24 1
a24 1
ONLY_FOR_ARCHS= i386
d27 1
d29 1
a29 1
MAN1=           jconsole.1
d31 2
a32 3
do-build:
	@@${SED} "s:PREFIX:$(PREFIX):g" < ${FILESDIR}/jconsole > ${WRKSRC}/jconsole
	@@${SED} "s:PREFIX:$(PREFIX):g" < ${FILESDIR}/jw > ${WRKSRC}/jw
d35 3
a37 3
	@@${INSTALL_SCRIPT} ${WRKSRC}/jconsole ${PREFIX}/bin
	@@${INSTALL_SCRIPT} ${WRKSRC}/jw ${PREFIX}/bin
	@@${INSTALL_MAN} ${WRKSRC}/j502a/system/extras/help/man/${MAN1} ${PREFIX}/man/man1
d39 2
a40 2
	@@cd ${WRKSRC}/j502a && \
		${TAR} -cf - system user profile.ijs readme.txt j.jar | \
d42 2
a43 2
	@@${INSTALL_PROGRAM} ${WRKSRC}/j502a/jconsole ${PREFIX}/lib/j/jconsole
	@@brandelf -t Linux ${PREFIX}/lib/j/jconsole
@


1.10
log
@BROKEN: Unfetchable

Approved by:    portmgr (self)
@
text
@d16 1
a16 1
MAINTAINER=	js@@jeannot.org
@


1.9
log
@Respect the user's USE_LINUX setting.
@
text
@d19 2
@


1.8
log
@Say hello to the linux mega patch, it consolidates our linux bits a
little bit and allows to proceed to a more recent linux_base from
a stable (read as: the major bugs should be ironed out or identified
and most linux ports build just fine) source.

It also allows to ship 4.11 with a working linuxolator (the EOLed
linux_base is marked forbidden because of a security hole).

This is a major update, please read UPDATING (and CHANGES if you
develop linux ports).

Changes:
 - change the default linux_base from v7 to v8
 - add a newer freetype to linux_base-8 for nicer fonts display [1]
 - don't let cpio use hardlinks in the linux_base-8 port to quiet some
   warnings in some cases [2]
 - fix a cut&past error in the linux_base-8 pkg-install script [3]
 - convert the binary knob "USE_LINUX" to a version specifier, e.g.
   USE_LINUX=<value> specifies a dependency upon
   emulators/linux_base-<value>, exceptions are a value of "7" (which
   does what you want and adds a dependency to linux_base) and any
   value without a corresponding port in
   PORTSDIR/emulators/linux_base-<value> (which adds a dependency to
   the default linux_base)
 - don't implicitly add USE_LINUX with the USE_LINUX_PREFIX knob,
   this allows us to use the USE_LINUX_PREFIX knob for linux_base and
   paves the way for splitting up future linux base ports into
   individual pieces
 - remove RESTRICTED from some GPL licensed ports, even when we only
   distribute binaries, we get them from official linux sites, so
   anyone can grab them there if he needs to
 - add a dependency upon the linux X11 bits where necessary (based upon
   guesswork)
 - don't use USE_X_PREFIX in some linux ports since it adds a dependency
   to the FreeBSD X11 libs, as a workaround use PREFIX?= (the clean
   solution would be to remove the implicit USE_XLIB from USE_X_PREFIX)
 - bump the portrevision of the linux ports ("better safe than sorry"
   algorithm)
 - pass maintainership of the important linux infrastructure to a
   mailinglist, hijack freebsd-emulation@@ for this purpose (if somebody
   doesn't like this: tell us your bikeshed color at freebsd-emulation@@,
   my color would be "linuxolator@@" in case someone cares...)
 - add a pkg-install script for linux-fontconfig, but don't use it;
   everything should work without it (the FreeBSD fc-cache program should
   do all the work), but in case we need it we just need to decomment the
   pkg-install part in the Makefile
 - fix some dependencies
 - fix some bugs
 - add some static plists
 - unbreak the ports with dependecies to more than one linux_base

This also fixes some ports which are marked BROKEN because of dependencies
to v7 and v8 of linux_base at the same time.

Known bugs:
 - the linux-mesa and linux-devtools ports install libGL*.so symlinks
 - some "minor" plist bugs (e.g. ld.so.{conf,cache} are modified by
   the linux X11 port, so linx_Base-8 moans at deinstall time)

Future work (interested souls should coordinate with freebsd-emulation@@):
 - add some kind of USE_LINUX_X11 knob to streamline the X11 dependencies,
   or modify the behavior of USE_XLIB in the USE_LINUX case
   AFAIK trevor has some patches.
 - make USE_XLIB and USE_X_PREFIX orthogonal to be able to get rid of
   the PREFIX?= workaround in some linux ports
   Should be discussed/coordinated on/with x11@@.
 - move the RPM bits from x11-toolkits/linux-gtk/Makefile to PORTSDIR/Mk/
 - update to a more recent linux base

PR:			69997, 70539 (and maybe others)
Discussed with/on:	java@@, x11@@, trevor, portmgr
Tested by:		mezz, portmgr, pointyhat
RPM hunted down by:	Joseph Gelinas <scirocco@@tasam.com> [1]
Requested by:		portmgr [2]
Submitted by:		kris [3]
Approved by:		portmgr
@
text
@d19 1
a19 1
USE_LINUX=	yes
@


1.7
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.6
log
@update lang/linux-j: 501b -> 502a

PR:		55447
Submitted by:	Jean-Sebastien Roy <js@@jeannot.org> (maintainer)
@
text
@d10 1
@


1.5
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	501b
d34 1
a34 1
	@@${INSTALL_MAN} ${WRKSRC}/j501b/system/extras/help/man/${MAN1} ${PREFIX}/man/man1
d36 1
a36 1
	@@cd ${WRKSRC}/j501b && \
d39 1
a39 1
	@@${INSTALL_PROGRAM} ${WRKSRC}/j501b/jconsole ${PREFIX}/lib/j/jconsole
@


1.4
log
@upgrade to 501b

PR:		46255
Submitted by:	maintainer
@
text
@d16 1
@


1.3
log
@Fix build by using USE_LINUX instead of an explicit (bogus) dependency.

Submitted by:	Jean-Sebastien Roy <js@@jeannot.org>
@
text
@d9 1
a9 1
PORTVERSION=	501a
d12 1
a12 1
DISTNAME=	j501a_linux
d18 1
d27 2
a28 1
	@@sed "s:PREFIX:$(PREFIX):" < ${FILESDIR}/jconsole > ${WRKSRC}/jconsole
d32 2
a33 1
	@@${INSTALL_MAN} ${WRKSRC}/j501a/system/extras/help/man/${MAN1} ${PREFIX}/man/man1
d35 4
a38 2
	@@cd ${WRKSRC}/j501a && tar -cf - system user profile.ijs readme.txt | tar -xf - -C ${PREFIX}/lib/j
	@@${INSTALL_PROGRAM} ${WRKSRC}/j501a/jconsole ${PREFIX}/lib/j/jconsole
@


1.2
log
@Maintainer update to version v501a

PR:		ports/44383
Submitted by:	Jean-Sebastien Roy <js@@jeannot.org>
@
text
@d17 1
a17 3
RUN_DEPENDS=    /compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_base

USE_LINUX_LIB=  yes
@


1.1
log
@Add linux-j 405a, a general purpose programming language.

PR:		30933
Submitted by:	js@@jeannot.org
@
text
@d9 1
a9 1
PORTVERSION=	405a
d12 1
a12 1
DISTFILES=	jconsole405a-Linux.tgz jlib405.tgz jhelp.tgz
a30 2
	@@${INSTALL_PROGRAM} ${WRKSRC}/jconsole405a-Linux/jconsole_files/jconsole ${PREFIX}/bin/jconsole.bin
	@@brandelf -t Linux ${PREFIX}/bin/jconsole.bin
d32 1
a32 1
	@@${INSTALL_MAN} ${WRKSRC}/jconsole405a-Linux/jconsole_files/${MAN1} ${PREFIX}/man/man1
d34 3
a36 3
	@@cd ${WRKSRC}/jlib405/jlib_files && tar -cf - * | tar -xf - -C ${PREFIX}/lib/j
	@@${MKDIR} ${PREFIX}/lib/j/system/extras/help
	@@cd ${WRKSRC}/jhelp/jhelp_files && tar -cf - * | tar -xf - -C ${PREFIX}/lib/j/system/extras/help
@

