[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.9, Tue May 21 21:56:57 2019 UTC (3 weeks, 4 days ago) by schmonz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines

Update to 3.51. From the changelog:

- SVG output: added `white-space: pre` in styles
- HTML output: replaced ' by ' (https://bugs.debian.org/927410)
- HTML output: fixed index file format (missing close tags)
- CLI: moved syntax recognition functions to DataDir class
- CLI: added regular expressions and default false values to --verbose output
- CLI: fixed `--list-cat` without `--list-scripts` (https://gitlab.com/saalen/highlight/issues/107)
- CLI: added optional argument to `--base16` (https://gitlab.com/saalen/highlight/issues/113)
- CLI: added default base16 themes (https://gitlab.com/saalen/highlight/issues/113)
- CLI: added `--isolate` option (https://gitlab.com/saalen/highlight/issues/118)
- GUI: improved UTF16 input path handling on Windows

# $NetBSD: Makefile.common,v 1.9 2019/05/21 21:56:57 schmonz Exp $
# used by textproc/highlight/Makefile
# used by textproc/libhighlight/Makefile
# used by textproc/p5-highlight/Makefile

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