Files
claudio c18f5c64bb Now that we have a modern ports-gcc there is no need to special case
base-clang anymore since ports-gcc has the same issues.
Force the compiler down to a c++ spec that works with the code base.

OK sthen@
2025-12-15 13:54:07 +00:00

34 lines
736 B
Makefile

COMMENT= create a document with syntax highlighting
DISTNAME= source-highlight-3.1.9
SHARED_LIBS += source-highlight 1.1 # 4.1
CATEGORIES= textproc
HOMEPAGE= https://www.gnu.org/software/src-highlite/
# GPLv3
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} boost_regex-mt c icudata icui18n
WANTLIB += icuuc m
COMPILER= base-clang ports-gcc
CXXFLAGS = -std=gnu++11
SITES= ${SITE_GNU:=src-highlite/}
LIB_DEPENDS= devel/boost
BUILD_DEPENDS= devel/help2man \
textproc/texi2html
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS= bash_completiondir=${PREFIX}/share/examples/source-highlight/bash_completion.d
TEST_TARGET= check
.include <bsd.port.mk>