aboutsummaryrefslogtreecommitdiffhomepage
path: root/freebsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/Makefile')
-rw-r--r--freebsd/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index a8a46db..1dcd194 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -1,12 +1,12 @@
PORTNAME= sciteco
-DISTVERSION= 2.3.0
+DISTVERSION= 2.5.0
CATEGORIES= editors textproc devel
-MASTER_SITES= https://github.com/rhaberkorn/${PORTNAME}/releases/download/v${DISTVERSION}/ \
+MASTER_SITES= https://sciteco.fmsbw.de/downloads/v${DISTVERSION}/ \
SOURCEFORGE/${PORTNAME}/v${DISTVERSION}/
-MAINTAINER= robin.haberkorn@googlemail.com
+MAINTAINER= rhaberkorn@fmsbw.de
COMMENT= Scintilla-based Text Editor and Corrector
-WWW= https://rhaberkorn.github.io/sciteco/
+WWW= https://sciteco.fmsbw.de/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
@@ -33,10 +33,6 @@ CONFIGURE_OUTSOURCE= yes
MAKEFILE= GNUmakefile
TEST_TARGET= check
-# SciTECO uses an install-exec-hook to fix up hash-bang lines.
-# This is broken by the default 0555 mode.
-BINMODE= 755
-
# NOTE: Unlike on Debian, we cannot build a sciteco-common package.
# FreeBSD does not yet support subpackages.
# Therefore both flavors will install totally independant
@@ -65,19 +61,23 @@ PLIST_SUB+= GTK="" \
PROGRAM_PREFIX=g
.endif
-OPTIONS_DEFINE= LEXILLA MALLOC_REPLACEMENT TECO_INTEGER_32
-OPTIONS_DEFAULT= LEXILLA
+OPTIONS_DEFINE= LEXILLA MALLOC_REPLACEMENT TECO_INTEGER_32 LTO
+OPTIONS_DEFAULT= LEXILLA MALLOC_REPLACEMENT
OPTIONS_SUB= yes
LEXILLA_DESC= Build with Lexilla lexer support (larger)
-MALLOC_REPLACEMENT_DESC= Force replacement of system malloc()
+MALLOC_REPLACEMENT_DESC= Replace system malloc() for memory limiting
TECO_INTEGER_32_DESC= Use 32-bit TECO integers
+LTO_DESC= Apply Link-Time Optimizations (significantly faster)
LEXILLA_CONFIGURE_OFF= --without-lexilla
MALLOC_REPLACEMENT_CONFIGURE_ON= --enable-malloc-replacement
TECO_INTEGER_32_CONFIGURE_ON= --with-teco-integer=32
-WITH_LTO= yes
+# Once we support an --enable-lto site-config-option, we should rather use that.
+LTO_CFLAGS= -flto=thin
+LTO_CXXFLAGS= -flto=thin
+LTO_LDFLAGS= -flto=thin
.include <bsd.port.pre.mk>