aboutsummaryrefslogtreecommitdiffstats
path: root/lang/linux-j/Makefile
blob: 87f08a36e3849298bab7c57cf032afc6511f17e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Created by: js@jeannot.org
# $FreeBSD$

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=    General purpose programming language

LICENSE=    JSoftware
LICENSE_NAME=   JSoftware End User License Agreement
LICENSE_FILE=   ${FILESDIR}/license.txt
LICENSE_PERMS=  auto-accept dist-mirror pkg-mirror

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

USE_LINUX=  yes
USE_JAVA=   yes
JAVA_VERSION=   1.6+

ONLY_FOR_ARCHS= i386 amd64

NO_WRKSUBDIR=   yes
NO_BUILD=   yes

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

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

post-install:
    ${MV} ${STAGEDIR}${PREFIX}/man/man1/jconsole.1 ${STAGEDIR}${PREFIX}/man/man1/j-jconsole.1
.if !defined(BATCH)
    @${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>
Update to 2.15.2.demon2007-05-304-11/+10 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * Update to 2.15.1.demon2007-02-053-6/+6 * Update to 2.15.0.demon2006-12-313-9/+7 * Update to 2.14.7;demon2006-11-012-5/+4 * Update to 2.14.5.demon2006-08-184-14/+11 * fix file to patcholiver2006-04-261-2/+2 * The start script assumes that group name == user name. This goes wrongoliver2006-04-242-1/+24 * Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.dougb2006-02-211-1/+0 * Remove mrtg lock and pid files before starting daemon.demon2006-02-161-0/+7 * Update to 2.13.2.demon2006-02-083-23/+6 * Add bsnmpd and snmpd to REQUIRE section so mrtg daemon starts afterdemon2006-02-081-1/+1 * Install rcNG script to run mrtg in daemon mode.demon2006-02-064-0/+91 * SHA256ifyedwin2006-02-011-0/+1 * Utilize DOCSDIR and DATADIR macros.demon2005-09-061-74/+74 * Utilize OPTIONS.demon2005-09-061-1/+3 * Allow one to avoid p5-IO-INET6 dependency via WITHOUT_IPV6.demon2005-09-051-4/+9 * Upgrade to version 2.12.2.demon2005-06-202-4/+3 * * reflect renaming on CPAN File-Spec to PathToolsskv2005-06-121-1/+2 * Update to version 2.12.1.demon2005-05-173-21/+3 * Fix a problem when all graphs are being drawn as if "Unscaled" was set.demon2005-05-171-0/+18 * Upgrade to version 2.12.0.demon2005-05-164-126/+8 * Update to version 2.11.1.demon2005-02-112-3/+3 * Upgrade to version 2.11.0.demon2004-12-092-3/+3 * Update to version 2.0.15.demon2004-08-082-3/+3 * graphics/gd1 port has gone.demon2004-07-151-10/+0 * Back out last change. PodParser in ports has newer version than that indemon2004-07-021-7/+1 * Depend on textproc/PodParser only if PERL_LEVEL < 500800.demon2004-07-021-1/+7 * Update to version 2.10.14.demon2004-06-162-3/+3 * Add size data, approved by maintainers.trevor2004-03-191-0/+1 * Correct MASTER_SITE_SUBDIR.demon2004-03-151-1/+1 * Say hello to the new "net-mgmt" category. There are probably morewollman2004-02-231-3/+3 * Update to version 2.10.13.demon2004-01-193-47/+39 * Add ipv6 to CATEGORIES, add dependencies to enable IPv6 support.demon2003-10-251-2/+4 * utilize SITE_PERLijliao2003-10-241-8/+8 * Add more MASTER_SITES.demon2003-10-131-1/+4 * Add missing manpage and a few files I forgot during update.demon2003-10-022-2/+6 * Update to version 2.10.5.demon2003-10-023-30/+2 * o Main modificationnork2003-08-191-9/+9 * o Change library name from libgd to libgd1.nork2003-07-122-2/+127 * Do not install files which are included into p5-SNMP_Session port.demon2003-06-082-3/+6 * Update to version 2.9.29.demon2003-06-023-6/+15 * De-pkg-comment.demon2003-02-222-1/+1 * Fixes for 64-bit platforms.demon2003-02-111-0/+18 * Fix LIB_DEPENDS when using gd version 1.demon2002-11-261-0/+1 * Rollback to 2.9.25 release until 64bit rateup is fixed.demon2002-11-212-4/+3 * Upgrade to 2.9.26b, fixes bugs in configure script.demon2002-11-203-65/+3 * Add a patch to make this work.demon2002-11-181-0/+63 * Update to 2.9.26.demon2002-11-182-2/+2 * Update to version 2.9.25demon2002-11-092-2/+2 * Add WITH_GD2 knob for building with gd2 rather than gd.demon2002-08-151-3/+8 * Update to version 2.9.22.demon2002-08-012-2/+2 * Update to 2.9.21.demon2002-07-062-2/+2 * Update checksum: CVS directories are gone from the distribution.demon2002-05-312-4/+1 * Upgrade to 2.9.18 release.demon2002-05-312-3/+2 * Upgrade to 2.9.18-pre12demon2002-05-272-3/+3 * Upgrade to 2.9.18pre11demon2002-05-112-3/+3 * The previous commit was incomplete.demon2002-05-012-2/+2 * Upgrade to pre9demon2002-05-011-1/+1 * Upgrade to 2.9.18pre7.demon2002-04-172-3/+3 * Upgrade to 2.9.18pre6demon2002-04-142-3/+3 * Upgrade to pre5 which seems to work with perl 5.0.demon2002-04-112-3/+3 * Backout (at least temporary) upgrade to pre4.demon2002-04-102-3/+3 * Upgrade to 2.9.18.p4demon2002-04-072-3/+3 * Upgrade to 2.9.18-pre3demon2002-03-282-3/+3 * rm -> ${RM}demon2002-03-161-1/+1 * Upgrade to 2.9.18pre2demon2002-03-162-2/+6 * Fix typo.olgeni2001-12-041-1/+1 * Utilize DATADIR and DOCSDIR.demon2001-07-151-4/+4 * Add one more MASTER_SITE.demon2001-06-061-0/+1 * Update to 2.9.17demon2001-06-062-3/+3 * I committed wrong checksum during previous update.demon2001-04-241-1/+1 * Update to 2.9.12.demon2001-04-222-2/+2 * Update to 2.9.11.demon2001-04-183-4/+7 * Yet another mrtg update (to version 2.9.10).demon2001-02-222-2/+2 * Fix this file which I corrupted somehow during previous edit...demon2001-02-181-12/+0 * Update to 2.9.8.demon2001-02-183-58/+69 * Chase graphics/gd's shlib version bump.knu2001-02-121-1/+2 * Remove bogus 0x0a from the end of line.demon2001-01-041-3/+3 * Update to version 2.9.7.demon2001-01-032-2/+2 * Update to version 2.9.6.demon2000-12-132-2/+2 * Update to version 2.9.5.demon2000-12-132-2/+2 * Change MAINTAINER field.demon2000-11-131-1/+1 * Update to version 2.9.4jeh2000-11-022-3/+3 * Hand these ports to Dmitry Sivachenko <dima@chg.ru>.will2000-10-251-1/+1 * Add $MASTER_SITE_RINGSERVER into $MASTER_SITES.kuriyama2000-10-241-1/+3 * Remove jfitz@ as MAINTAINER - mail is bouncing / mailservers don't answer.will2000-10-241-1/+1 * Update to version 2.9.2. Possibly serious bug fixesjeh2000-10-192-2/+2 * Update to 2.9.1.jeh2000-10-133-39/+83 * Update LIB_DEPENDS for gd: gd.0 -> gd.1.will2000-06-071-1/+1 * Update with the new PORTNAME/PORTVERSION variablescpiazza2000-04-101-2/+2 * Update version to 2.8.12.imura2000-02-133-5/+11 * These ports now need 'LIB_DEPENDS=gd.0:...'.steve1999-12-281-1/+1 * Correct WWW:; Reformat and add a URL that was never added; GIF -> PNGbillf1999-09-301-4/+5 * Update to 2.8.8fenner1999-09-092-3/+3 * FreeBSD.ORG -> FreeBSD.orgmharo1999-08-311-1/+1 * $Id$ -> $FreeBSD$peter1999-08-301-1/+1 * PR: 12870foxfair1999-07-302-2/+3 * PR: 12834foxfair1999-07-292-3/+3 * Commit #3/4 to enforce caps, no period.hoek1999-06-271-1/+1 * WWW: This is definately the daemon's work. In Chuck we trust.mharo1999-05-031-1/+1 * Upgrade to v2.7.2jfitz1999-03-30