blob: d6da0ce79876a22a92609e7498431a074c712f5d (
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
48
49
50
|
PORTNAME= scintilla
DISTVERSION= 4.4.5
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION}
DISTNAME= scite${PORTVERSION:S/.//g}
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Full-featured free source code editing component for GTK
WWW= https://www.scintilla.org/
LICENSE= SCINTILLA
LICENSE_NAME= License for Scintilla and SciTE
LICENSE_FILE= ${WRKSRC}/../License.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= compiler:c++17-lang cpe gmake gnome iconv pkgconfig tar:tgz
PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}/gtk
MAKEFILE= makefile
USE_LDCONFIG= yes
USE_GNOME= cairo gdkpixbuf2 gtk30
MAKE_ENV= LDFLAGS="${LDFLAGS}"
CFLAGS+= -DPIC ${PICFLAG}
MAKE_ARGS= GTK3=1
.if defined(WITH_DEBUG)
MAKE_ARGS+= DEBUG=1
.endif
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == clang
MAKE_ARGS+= CLANG=1
.endif
.if ${ARCH} == "sparc64"
PICFLAG?= -fPIC
.else
PICFLAG?= -fpic
.endif
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/scintilla
${INSTALL_DATA} ${WRKSRC}/../include/*.h \
${STAGEDIR}${PREFIX}/include/scintilla
${INSTALL_LIB} ${WRKSRC}/../bin/*.so ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.post.mk>
|