mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
f899c758a6
everything at once. Sometime, rename post-install into a options helper target. I did not fix ports that were such a mess that I could not figure out what they really wanted to do. I also did not change ports that had some version of an auto-plist code in post-install, for the same reason. With hat: portmgr Sponsored by: Absolight
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
|
|
|
|
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} ${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>
|