Files
ports/textproc/source-highlight/Makefile
T
Lexi Winter 20ee6d87ee textproc/source-highlight: Add --with-boost
Otherwise, it fails to find Boost.Regex when LOCALBASE is not
/usr/local.

PR:	288761
Reviewed by:	arrowd
Approved by:	arrowd (ports), maintainer (timeout, 9 months)
Differential Revision:	https://reviews.freebsd.org/D57125
2026-05-26 16:17:05 +01:00

37 lines
920 B
Makefile

PORTNAME= source-highlight
DISTVERSION= 3.1.9
PORTREVISION= 14
CATEGORIES= textproc
MASTER_SITES= GNU/src-highlite
MAINTAINER= ports@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
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
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-bash-completion --with-boost=${LOCALBASE}
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>