aboutsummaryrefslogtreecommitdiff
path: root/textproc/source-highlight/Makefile
blob: 16468294e2558c373ce019728d17839ff354f732 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PORTNAME=	source-highlight
DISTVERSION=	3.1.9
PORTREVISION=	7
CATEGORIES=	textproc
MASTER_SITES=	GNU/src-highlite

MAINTAINER=	tcberner@FreeBSD.org
COMMENT=	C/C++ and Java sources to HTML converter
WWW=		https://www.gnu.org/software/src-highlite/source-highlight.html

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN_sparc64=		fails to compile with GCC 4.2

BUILD_DEPENDS=	exctags:devel/ctags
LIB_DEPENDS=	libboost_regex.so:devel/boost-libs

USES=		compiler:c++11-lang gmake pathfix libtool localbase
USE_CXXSTD=	gnu++11
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-bash-completion
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

CONFLICTS_INSTALL=	java2html # bin/java2html

OPTIONS_DEFINE=	DOCS EXAMPLES

PORTDOCS=	*
PORTEXAMPLES=	*
INFO=		source-highlight-lib source-highlight

do-test:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} check

.include <bsd.port.mk>