1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/lang/J/Makefile
Mathieu Arnold 095c25da0f Fix USE_GITHUB usage.
Sponsored by:	Absolight
2018-06-04 14:46:41 +00:00

46 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= J
DISTVERSIONPREFIX= j
DISTVERSION= 808
DISTVERSIONSUFFIX= -release
CATEGORIES= lang math
MAINTAINER= sevenjp@gmail.com
COMMENT= J programming language
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/license.txt
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON_amd64= Not built or tested for other archs. i386 needs hostdefs and netdefs files to be generated.
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libpcreposix.so:devel/pcre \
libsqlite3.so:databases/sqlite3
USES+= libedit gmake shebangfix uidfix
SHEBANG_GLOB= *.sh
SUB_FILES= jconsole profile.ijs
USE_GITHUB= yes
GH_ACCOUNT= jsoftware
GH_PROJECT= jsource
BIN_FILES= jconsole
LIB_FILES= libj.so libtsdll.so
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/j/bin
${MKDIR} ${STAGEDIR}${PREFIX}/share/j/system
${MKDIR} ${STAGEDIR}${PREFIX}/share/j/addons
${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKDIR}/jbld/j64/bin/!} ${STAGEDIR}${PREFIX}/lib/j/bin/
${INSTALL_LIB} ${LIB_FILES:C!^!${WRKDIR}/jbld/j64/bin/!} ${STAGEDIR}${PREFIX}/lib/j/bin # Required by the J runtime
${INSTALL_DATA} ${WRKDIR}/profile.ijs ${STAGEDIR}${PREFIX}/share/j/
${INSTALL_SCRIPT} ${WRKDIR}/jconsole ${STAGEDIR}${PREFIX}/bin/
(cd ${WRKDIR}/jbld/j64/system && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/j/system)
(cd ${WRKDIR}/jbld/j64/addons && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/j/addons)
.include <bsd.port.mk>