mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scintilla
|
|
DISTVERSION= 4.2.0
|
|
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+
|
|
|
|
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 gmake gnome iconv pkgconfig tar:tgz
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/gtk
|
|
MAKEFILE= makefile
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= gtk20
|
|
MAKE_ENV= LDFLAGS="${LDFLAGS}"
|
|
CFLAGS+= -DPIC ${PICFLAG}
|
|
|
|
MAJOR= 2
|
|
AGE= 0
|
|
REVISION= 0
|
|
MAKE_ARGS= MAJOR="${MAJOR}" AGE="${AGE}" REVISION="${REVISION}"
|
|
PLIST_SUB= MAJOR="${MAJOR}" AGE="${AGE}" REVISION="${REVISION}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
PICFLAG?= -fPIC
|
|
.else
|
|
PICFLAG?= -fpic
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's| -Os||g' ${WRKSRC}/makefile
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include/scintilla
|
|
${INSTALL_DATA} ${WRKSRC}/../include/*.h ${STAGEDIR}${PREFIX}/include/scintilla
|
|
.for f in libscintilla.so libscintilla_lexers.so
|
|
${INSTALL_LIB} ${WRKSRC}/${f}.${MAJOR}.${AGE}.${REVISION} \
|
|
${STAGEDIR}${PREFIX}/lib
|
|
(cd ${STAGEDIR}${PREFIX}/lib && \
|
|
${LN} -sf ${f}.${MAJOR}.${AGE}.${REVISION} ${f}.${MAJOR} && \
|
|
${LN} -sf ${f}.${MAJOR} ${f})
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|