aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-03-24 22:07:36 +0800
committerswills <swills@FreeBSD.org>2014-03-24 22:07:36 +0800
commita11c57637878eb7a7149b155c54b477d38f53964 (patch)
treee4e25c7be57d69231f6deece24dbc3626647295b /lang
parentca6039ef6fd0c6480385798e9cf27bdb04aeed44 (diff)
downloadfreebsd-ports-gnome-a11c57637878eb7a7149b155c54b477d38f53964.tar.gz
freebsd-ports-gnome-a11c57637878eb7a7149b155c54b477d38f53964.tar.zst
freebsd-ports-gnome-a11c57637878eb7a7149b155c54b477d38f53964.zip
- Stagify
- Add license PR: ports/187611 Submitted by: Johannes Jost Meixner <xmj@chaot.net>
Diffstat (limited to 'lang')
-rw-r--r--lang/linux-j/Makefile31
-rw-r--r--lang/linux-j/pkg-plist1
2 files changed, 19 insertions, 13 deletions
diff --git a/lang/linux-j/Makefile b/lang/linux-j/Makefile
index 31146a373779..e86576e65bec 100644
--- a/lang/linux-j/Makefile
+++ b/lang/linux-j/Makefile
@@ -13,35 +13,40 @@ DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A 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
+ONLY_FOR_ARCHS= i386 amd64
NO_WRKSUBDIR= yes
NO_BUILD= yes
-MAN1= j-jconsole.1
-
SUB_FILES= j-jconsole.sh jw.sh
SUB_LIST= PORTVERSION=${PORTVERSION:S/b//g}
-NO_STAGE= yes
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
+ ${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 ${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
+ ${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
post-install:
.if !defined(BATCH)
diff --git a/lang/linux-j/pkg-plist b/lang/linux-j/pkg-plist
index 27d869714bfa..3e1d0e91d48f 100644
--- a/lang/linux-j/pkg-plist
+++ b/lang/linux-j/pkg-plist
@@ -1688,6 +1688,7 @@ lib/j/user/projects/projects.txt
lib/j/user/user.txt
lib/j/user/classes/classes.txt
lib/j/profile.ijs
+man/man1/j-jconsole.1.gz
@dirrm lib/j/system/classes/browse
@dirrm lib/j/system/classes/cs
@dirrm lib/j/system/classes/dict