diff options
author | Stefan Walter <stefan@FreeBSD.org> | 2006-08-06 07:23:35 +0000 |
---|---|---|
committer | Stefan Walter <stefan@FreeBSD.org> | 2006-08-06 07:23:35 +0000 |
commit | 34640f3905381881ea45678cb180010baf7601de (patch) | |
tree | 78efa7af992fe6d7a9137091248099513cec12f9 /lang/linux-j | |
parent | - Convert the port to be compliant with DESTDIR (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=169801
Diffstat (limited to 'lang/linux-j')
-rw-r--r-- | lang/linux-j/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/linux-j/Makefile b/lang/linux-j/Makefile index e180f9771267..efeafe5fd7bd 100644 --- a/lang/linux-j/Makefile +++ b/lang/linux-j/Makefile @@ -5,17 +5,19 @@ # $FreeBSD$ # -PORTNAME= linux-j +PORTNAME= j PORTVERSION= 504b +PORTREVISION= 1 CATEGORIES= lang linux java MASTER_SITES= http://www.jsoftware.com/download/ +PKGNAMEPREFIX= linux- DISTNAME= j${PORTVERSION}_linux32 -DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} +DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A general purpose programming language -RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper +RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper # Java 1.5 JDKs install ${PREFIX}/bin/jconsole CONFLICTS= diablo-jdk-1.5.0* jdk-1.5.0* linux-sun-jdk-1.5.0* @@ -42,6 +44,8 @@ do-install: 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 |