Lines 2-10
Link Here
|
2 |
# $FreeBSD: head/editors/codelite/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $ |
2 |
# $FreeBSD: head/editors/codelite/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $ |
3 |
|
3 |
|
4 |
PORTNAME= codelite |
4 |
PORTNAME= codelite |
5 |
PORTVERSION= 9.0 |
5 |
PORTVERSION= 9.1 |
6 |
CATEGORIES= editors devel |
6 |
CATEGORIES= editors devel |
7 |
MASTER_SITES= GH |
|
|
8 |
|
7 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
8 |
MAINTAINER= ports@FreeBSD.org |
10 |
COMMENT= Open Source IDE for C/C++ |
9 |
COMMENT= Open Source IDE for C/C++ |
Lines 17-30
Link Here
|
17 |
GH_ACCOUNT= eranif |
16 |
GH_ACCOUNT= eranif |
18 |
|
17 |
|
19 |
USES= cmake:outsource compiler:c++11-lib dos2unix execinfo gettext \ |
18 |
USES= cmake:outsource compiler:c++11-lib dos2unix execinfo gettext \ |
20 |
shebangfix |
19 |
shebangfix sqlite |
21 |
DOS2UNIX_GLOB= *.cpp *.txt |
20 |
DOS2UNIX_GLOB= *.cpp *.txt |
22 |
SHEBANG_FILES= Runtime/codelite_xterm |
21 |
SHEBANG_FILES= Runtime/codelite_xterm |
23 |
bash_CMD= /bin/sh |
22 |
bash_CMD= /bin/sh |
24 |
USE_SQLITE= 3 |
|
|
25 |
USE_WX= 3.0 |
23 |
USE_WX= 3.0 |
26 |
CMAKE_ARGS= -DENABLE_LLDB:STRING=0 \ |
24 |
CMAKE_ARGS= -DIS_FREEBSD:STRING=1 \ |
27 |
-DPREFIX:STRING="${PREFIX}" |
25 |
-DENABLE_LLDB:STRING=0 \ |
|
|
26 |
-DPREFIX:STRING="${PREFIX}" \ |
27 |
-DCL_WX_CONFIG:STRING="${WX_CONFIG:T}" |
28 |
USE_LDCONFIG= ${PREFIX}/lib/codelite |
28 |
USE_LDCONFIG= ${PREFIX}/lib/codelite |
29 |
INSTALLS_ICONS= yes |
29 |
INSTALLS_ICONS= yes |
30 |
|
30 |
|
Lines 33-39
Link Here
|
33 |
|
33 |
|
34 |
OPTIONS_DEFINE= CSCOPE SFTP |
34 |
OPTIONS_DEFINE= CSCOPE SFTP |
35 |
OPTIONS_RADIO= CLANG |
35 |
OPTIONS_RADIO= CLANG |
36 |
OPTIONS_RADIO_CLANG= CLANG34 CLANG35 CLANG36 |
36 |
OPTIONS_RADIO_CLANG= CLANG34 CLANG35 CLANG36 CLANG37 |
37 |
OPTIONS_SUB= yes |
37 |
OPTIONS_SUB= yes |
38 |
|
38 |
|
39 |
CLANG_DESC= Clang code-completion |
39 |
CLANG_DESC= Clang code-completion |
Lines 46-56
Link Here
|
46 |
CLANG36_DESC= Clang 3.6.x |
46 |
CLANG36_DESC= Clang 3.6.x |
47 |
CLANG36_BUILD_DEPENDS= clang36>0:${PORTSDIR}/lang/clang36 |
47 |
CLANG36_BUILD_DEPENDS= clang36>0:${PORTSDIR}/lang/clang36 |
48 |
CLANG36_RUN_DEPENDS= clang36>0:${PORTSDIR}/lang/clang36 |
48 |
CLANG36_RUN_DEPENDS= clang36>0:${PORTSDIR}/lang/clang36 |
|
|
49 |
CLANG37_DESC= Clang 3.7.x |
50 |
CLANG37_BUILD_DEPENDS= clang37>0:${PORTSDIR}/lang/clang37 |
51 |
CLANG37_RUN_DEPENDS= clang37>0:${PORTSDIR}/lang/clang37 |
49 |
CSCOPE_DESC= CScope integration |
52 |
CSCOPE_DESC= CScope integration |
50 |
CSCOPE_RUN_DEPENDS= cscope:${PORTSDIR}/devel/cscope |
53 |
CSCOPE_RUN_DEPENDS= cscope:${PORTSDIR}/devel/cscope |
51 |
SFTP_DESC= Secure FTP support via libssh |
54 |
SFTP_DESC= Secure FTP support via libssh |
52 |
SFTP_LIB_DEPENDS= libssh.so:${PORTSDIR}/security/libssh |
55 |
SFTP_LIB_DEPENDS= libssh.so:${PORTSDIR}/security/libssh |
53 |
SFTP_CMAKE_OFF= -DENABLE_SFTP:STRING=0 |
56 |
SFTP_CMAKE_OFF= -DENABLE_SFTP:STRING=0 |
|
|
57 |
SFTP_CFLAGS= -idirafter ${LOCALBASE}/include |
54 |
|
58 |
|
55 |
.include <bsd.port.options.mk> |
59 |
.include <bsd.port.options.mk> |
56 |
|
60 |
|
Lines 63-71
Link Here
|
63 |
post-patch: |
67 |
post-patch: |
64 |
# Use the correct wx-config |
68 |
# Use the correct wx-config |
65 |
@${REINPLACE_CMD} -e \ |
69 |
@${REINPLACE_CMD} -e \ |
66 |
'/IS_FREEBSD/s|0|1| ; \ |
70 |
'/ IS_FREEBSD/s|^|#| ; \ |
67 |
/CL_WX_CONFIG/s|wx-config|${WX_CONFIG:T}| ; \ |
71 |
/ CL_WX_CONFIG/s|^|#| ; \ |
68 |
/-O2/s|^|#| ; \ |
72 |
/ -Wno-/s|^|#| ; \ |
|
|
73 |
/ -O2/s|^|#| ; \ |
69 |
s|"-s"|""|' \ |
74 |
s|"-s"|""|' \ |
70 |
${WRKSRC}/CMakeLists.txt |
75 |
${WRKSRC}/CMakeLists.txt |
71 |
@${REINPLACE_CMD} -e \ |
76 |
@${REINPLACE_CMD} -e \ |