mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
82a87de90c
Mk/Uses/linux.mk. - Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with USES+=linux:\1 in all ports. - Replace USE_LINUX_APPS with USE_LINUX in all ports. - Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some ports. - When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY are defined. - Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases that it is still necessary ports can run ${BRANDELF} from post-patch. - Remove AUTOMATIC_PLIST handling. Only one port used it. - Fix Linux MASTER_SITES. - Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with default versions framework. - bsd.port.mk: - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX. - Put USE_LINUX_PREFIX handling after USES processing. - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can give these variables a different default value. - When a package needs to run Linux ldconfig check before installation if Linux support is enabled. - emulators/linux_base-*: - Use USES=linux and remove duplication. - Remove files/lp. FreeBSD or CUPS lp(1) should work. - Remove files/yp.conf. No longer seems to be used. - Remove pkg-deinstall and move pkg-install into pkg-plist. - Update pkg-descr and pkg-message. - Fix handling of ldconfig cache in pkg-plist. - devel/fb-adb: Use a Linux shell to run a Linux script but patch the script to use FreeBSD mkdir so mkdir -p $path creates $path and not /compat/linux/$path. PR: 211645 Exp-run by: antoine Approved by: portmgr (antoine)
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# Created by: js@jeannot.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= j
|
|
PORTVERSION= 504b
|
|
PORTREVISION= 3
|
|
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
|
|
|
|
USES= linux
|
|
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} ${WRKDIR}/j-jconsole.sh ${STAGEDIR}${PREFIX}/bin/j-jconsole
|
|
${INSTALL_SCRIPT} ${WRKDIR}/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} && \
|
|
${COPYTREE_SHARE} "system user profile.ijs j.jar" \
|
|
${STAGEDIR}${PREFIX}/lib/j
|
|
${BRANDELF} -t Linux ${WRKSRC}/j${PORTVERSION:S/b//g}/jconsole
|
|
${INSTALL_PROGRAM} ${WRKSRC}/j${PORTVERSION:S/b//g}/jconsole ${STAGEDIR}${PREFIX}/lib/j/jconsole
|
|
|
|
${MV} ${STAGEDIR}${PREFIX}/man/man1/jconsole.1 ${STAGEDIR}${PREFIX}/man/man1/j-jconsole.1
|
|
|
|
.include <bsd.port.mk>
|