View | Details | Raw Unified | Return to bug 230563
Collapse All | Expand All

(-)devel/liteide/Makefile (-3 / +13 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	liteide
3
PORTNAME=	liteide
4
DISTVERSIONPREFIX=	x
4
DISTVERSIONPREFIX=	x
5
DISTVERSION=	34
5
DISTVERSION=	34.1
6
CATEGORIES=	devel editors
6
CATEGORIES=	devel editors
7
7
8
MAINTAINER=	dg@syrec.org
8
MAINTAINER=	dg@syrec.org
Lines 11-18 Link Here
11
LICENSE=	LGPL21+
11
LICENSE=	LGPL21+
12
LICENSE_FILE=	${WRKSRC}/LICENSE.LGPL
12
LICENSE_FILE=	${WRKSRC}/LICENSE.LGPL
13
13
14
BUILD_DEPENDS=	${LOCALBASE}/bin/go:lang/go
15
RUN_DEPENDS=	${LOCALBASE}/bin/go:lang/go \
16
		${LOCALBASE}/bin/gocode:devel/go-gocode
17
14
FLAVORS=	qt5 qt4
18
FLAVORS=	qt5 qt4
15
FLAVOR?=	${FLAVORS:[1]}
16
19
17
qt4_CONFLICTS_INSTALL=	${PORTNAME}
20
qt4_CONFLICTS_INSTALL=	${PORTNAME}
18
qt4_PKGNAMESUFFIX=	-qt4
21
qt4_PKGNAMESUFFIX=	-qt4
Lines 21-30 Link Here
21
USES=		qmake
24
USES=		qmake
22
USE_GL=		gl
25
USE_GL=		gl
23
USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
26
USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
27
24
USE_GITHUB=	yes
28
USE_GITHUB=	yes
25
GH_ACCOUNT=	visualfc
29
GH_ACCOUNT=	visualfc
30
GH_TUPLE=	visualfc:gotools:b908c25:gotools/src/github.com/visualfc/gotools
26
31
27
.if ${FLAVOR} == qt4
32
.if ${FLAVOR:U} == qt4
28
USES+=		qt:4
33
USES+=		qt:4
29
USE_QT=		corelib gui moc_build network rcc_build uic_build webkit xml
34
USE_QT=		corelib gui moc_build network rcc_build uic_build webkit xml
30
PLIST_SUB+=	QT4="" NO_QT4="@comment "
35
PLIST_SUB+=	QT4="" NO_QT4="@comment "
Lines 45-51 Link Here
45
50
46
ICON_SIZES=	16 24 32 48 64 128
51
ICON_SIZES=	16 24 32 48 64 128
47
52
53
post-build:
54
	cd ${WRKSRC}/${GH_SUBDIR_gotools} && \
55
		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build
56
48
post-install:
57
post-install:
58
	${INSTALL_PROGRAM} ${WRKSRC}/${GH_SUBDIR_gotools}/gotools ${STAGEDIR}${PREFIX}/bin
49
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
59
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
50
	${INSTALL_DATA} ${WRKSRC}/liteide.desktop ${STAGEDIR}${PREFIX}/share/applications
60
	${INSTALL_DATA} ${WRKSRC}/liteide.desktop ${STAGEDIR}${PREFIX}/share/applications
51
	(cd ${WRKSRC}/deploy && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
61
	(cd ${WRKSRC}/deploy && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
(-)devel/liteide/distinfo (-3 / +5 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1532532512
1
TIMESTAMP = 1534078163
2
SHA256 (visualfc-liteide-x34_GH0.tar.gz) = a59f858b0867a70aa457ab997a9102b24e733a05f617844a900a07c606a94eb7
2
SHA256 (visualfc-liteide-x34.1_GH0.tar.gz) = a57c023b5ed9b58a5235ddc257d9e3cd67a7a91d27dbc6279b6ebb1991063dd6
3
SIZE (visualfc-liteide-x34_GH0.tar.gz) = 2687348
3
SIZE (visualfc-liteide-x34.1_GH0.tar.gz) = 2720587
4
SHA256 (visualfc-gotools-b908c25_GH0.tar.gz) = e4293f8fa5fdb2b95b2fd1e7a1c32bdfcaab66ba83557aba6bb733005da2be77
5
SIZE (visualfc-gotools-b908c25_GH0.tar.gz) = 535471
(-)devel/liteide/pkg-message (-15 lines)
Lines 1-15 Link Here
1
=======================================================================
2
3
In order to have full Go support, please install LiteIDE Golang Tools:
4
5
	go get -u github.com/visualfc/gotools
6
7
and set LITEIDE_TOOL_PATH environment variable to point to the directory
8
where gotools binary is installed.  To have code autocompletion, you'll
9
also need gocode:
10
11
	go get -u github.com/nsf/gocode
12
or
13
	pkg install devel/go-gocode
14
15
=======================================================================
(-)devel/liteide/pkg-plist (+1 lines)
Lines 1-3 Link Here
1
bin/gotools
1
bin/liteide
2
bin/liteide
2
lib/liteide/libliteapp.so
3
lib/liteide/libliteapp.so
3
lib/liteide/libliteapp.so.1
4
lib/liteide/libliteapp.so.1

Return to bug 230563