Lines 1-37
Link Here
|
1 |
PORTNAME= intellij-pty4j |
1 |
PORTNAME= intellij-pty4j |
2 |
PORTVERSION= 0.11.4 |
2 |
PORTVERSION= 0.12.31 |
3 |
CATEGORIES= java devel |
3 |
CATEGORIES= java devel |
4 |
|
4 |
|
5 |
MAINTAINER= ports@FreeBSD.org |
5 |
MAINTAINER= jinking.this@gmail.com |
6 |
COMMENT= Pty4J's native library |
6 |
COMMENT= Pty4J's native library |
7 |
WWW= https://github.com/traff/pty4j |
7 |
WWW= https://github.com/traff/pty4j |
8 |
|
8 |
|
9 |
LICENSE= EPL |
9 |
LICENSE= EPL |
10 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
10 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
|
11 |
|
12 |
USES= gmake |
12 |
USES= gmake |
13 |
|
13 |
|
14 |
USE_GITHUB= yes |
14 |
USE_GITHUB= yes |
15 |
GH_ACCOUNT= JetBrains |
15 |
GH_ACCOUNT= JetBrains |
16 |
GH_PROJECT= pty4j |
16 |
GH_PROJECT= pty4j |
17 |
GH_TAGNAME= 61a48c06c79f13f5766a35bb6af4816f481f0940 |
17 |
GH_TAGNAME= 84d37ce8c92ffedd426a562204588c4ad0c579a5 |
18 |
|
18 |
|
19 |
.include "${.CURDIR}/../intellij/common.mk" |
19 |
.include "${.CURDIR}/../intellij/common.mk" |
20 |
|
20 |
|
21 |
.include <bsd.port.options.mk> |
21 |
.include <bsd.port.options.mk> |
22 |
|
22 |
|
23 |
# The directory we need to install Pty4J's native library in depends |
23 |
# The directory we need to install Pty4J's native library in depends |
24 |
# on the install target's architecture. We rebuild libpty.so instead |
24 |
# on the install target's architecture. We rebuild libpty.so instead |
25 |
# of using one of the bundled ones which are FreeBSD 10.x only. |
25 |
# of using one of the bundled ones which are FreeBSD 10.x only. |
26 |
.if ${ARCH} == "amd64" |
26 |
.if ${ARCH} == "amd64" |
27 |
PTY4J_ARCH= x86-64 |
27 |
PTY4J_ARCH= x86-64 |
28 |
.elif ${ARCH} == "i386" |
28 |
.elif ${ARCH} == "i386" |
29 |
PTY4J_ARCH= x86 |
29 |
PTY4J_ARCH= x86 |
30 |
.else |
30 |
.else |
31 |
PTY4J_ARCH= |
31 |
PTY4J_ARCH= |
32 |
.endif |
32 |
.endif |
33 |
|
33 |
|
34 |
.if ${PTY4J_ARCH} != "" |
34 |
.if ${PTY4J_ARCH} != "" |
35 |
# Despite what the name might suggest using the linux_x86_64 target |
35 |
# Despite what the name might suggest using the linux_x86_64 target |
36 |
# will always build libpty.so for the native platform. |
36 |
# will always build libpty.so for the native platform. |
37 |
BUILD_WRKSRC= ${WRKSRC}/native |
37 |
BUILD_WRKSRC= ${WRKSRC}/native |