blob: 37f5279b3524fbe0920ac4406e7d19522ba9096d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: codelite
# Date created: 7 May 2008
# Whom: gahr
#
# $FreeBSD$
#
PORTNAME= codelite
DISTVERSION= 3.0.0.${SVN_REVISION}
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/Releases/${PORTNAME}-${PORTVERSION:R:R}
MAINTAINER= gahr@FreeBSD.org
COMMENT= An Open Source IDE for C/C++
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm
OPTIONS= CSCOPE "Enable CScope integration" OFF
USE_WX= 2.8
WX_UNICODE= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
.include <bsd.port.pre.mk>
SVN_REVISION= 5041
.if defined(WITH_CSCOPE)
RUN_DEPENDS+= cscope:${PORTSDIR}/devel/cscope
.endif
post-patch:
${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|g' ${WRKSRC}/configure
# Configure script does not respect --prefix
${REINPLACE_CMD} -e '/^prefix/s|/usr|${PREFIX}|; \
/^plugins_dir/s|/usr/lib/codelite|${DATADIR}/plugins|' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's|$${cur_rev}|${SVN_REVISION}|' \
${WRKSRC}/le_makerevision.sh
# CTags already installed
.if exists(${LOCALBASE}/include/readtags.h)
${RM} ${WRKSRC}/CodeLite/readtags.h
.endif
.include <bsd.port.post.mk>
|