230f2f3968
- improved `--force` fallback argument handling (https://gitlab.com/saalen/highlight/-/issues/163) - added C++ attribute syntax support - added Lua fuction `StoreValue` to set and retrieve information across Lua states - added `extras/eclipse-themes/eclipse_color_themes.py` script to retrieve themes from eclipsecolorthemes.org - added support for Web Assembly Text - updated mark_lines.lua to output 16m terminal sequences (https://gitlab.com/saalen/highlight/-/issues/164) - fixed issues in bash.lang (https://gitlab.com/saalen/highlight/-/issues/161) - fixed Bash heredoc highlighting in bash_functions.lua (https://gitlab.com/saalen/highlight/-/issues/156) - CLI: `highlight --version -q` only prints the version number - GUI: added theme contrast indicator
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# $NetBSD: Makefile.common,v 1.16 2020/09/17 21:06:20 schmonz Exp $
|
|
# used by textproc/highlight/Makefile
|
|
# used by textproc/libhighlight/Makefile
|
|
# used by textproc/p5-highlight/Makefile
|
|
|
|
DISTNAME= highlight-${VERSION}
|
|
VERSION= 3.58
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.andre-simon.de/zip/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.andre-simon.de/
|
|
COMMENT= Converts source code to formatted text with syntax highlighting
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
USE_LANGUAGES= c c++11
|
|
USE_LIBTOOL= yes
|
|
MAKE_FILE= makefile
|
|
|
|
PATCHDIR= ${.CURDIR}/../../textproc/libhighlight/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../textproc/libhighlight/distinfo
|
|
DESCR_SRC= ${.CURDIR}/../../textproc/libhighlight/DESCR
|
|
|
|
PKG_SYSCONFSUBDIR= highlight
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing hardcoded paths.
|
|
SUBST_STAGE.paths= do-configure
|
|
SUBST_FILES.paths= src/core/datadir.cpp src/makefile
|
|
SUBST_SED.paths= -e 's,/etc/highlight,${PKG_SYSCONFDIR},g'
|
|
SUBST_SED.paths+= -e 's,/usr/share,${PREFIX}/share,g'
|
|
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|