[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / libhighlight

File: [cvs.NetBSD.org] / pkgsrc / textproc / libhighlight / Makefile.common (download)

Revision 1.12, Wed Dec 18 01:34:33 2019 UTC (11 months, 1 week ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.11: +2 -2 lines

Update to 3.54 (during the freeze, for the bugfixes). From the changelog:

- fixed default colour output in BBCode
  (https://gitlab.com/saalen/highlight/issues/134)
- fixed corner case in sh.lang
- fixed syntax tests with UTF-8 input
  (https://gitlab.com/saalen/highlight/issues/123)
- added support for Bash in outhtml_codefold.lua plug-in
- added ballerina.lang
- added block strings to java.lang
- added author hints in themes and language definitions
- added C++20 reserved words in c.lang
- added editorconfig file and validated all files accordingly (thanks to
  Tristano Ajmone)
- CLI: fixed `--list-scripts` with `-d` or HIGHLIGHT_DATADIR env variable
  (https://gitlab.com/saalen/highlight/issues/139)
- GUI W32: replaced multibyte path trace window by startup hint if
  NtfsDisable8dot3NameCreation is set
- GUI: removed AsciiDoc instruction lines from the README popup window

# $NetBSD: Makefile.common,v 1.12 2019/12/18 01:34:33 schmonz Exp $
# used by textproc/highlight/Makefile
# used by textproc/libhighlight/Makefile
# used by textproc/p5-highlight/Makefile

DISTNAME=		highlight-${VERSION}
VERSION=		3.54
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"