a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
44 lines
1 KiB
Makefile
44 lines
1 KiB
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= highlight
|
|
PORTVERSION= 3.43
|
|
PORTREVISION= 4
|
|
PORTEPOCH= 3
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.andre-simon.de/zip/
|
|
|
|
MAINTAINER= kwm@FreeBSD.org
|
|
COMMENT= Customizable syntax highlighter
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= boost-libs>0:devel/boost-libs
|
|
|
|
USES= compiler:c++11-lib gmake lua:52 pkgconfig tar:bzip2
|
|
USE_CXXSTD= c++11
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS= CXX="${CXX}" \
|
|
CFLAGS="${CXXFLAGS} ${CPPFLAGS} -DHAVE_DECL_GETOPT" \
|
|
LDFLAGS="${LDFLAGS}"
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's|^PREFIX =|PREFIX ?=|' \
|
|
-e 's|^conf_dir =.*|conf_dir = $${PREFIX}/etc/highlight/|' \
|
|
${WRKSRC}/${MAKEFILE}
|
|
@${REINPLACE_CMD} -e 's|^CXX=|CXX?=|' \
|
|
-e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
|
${WRKSRC}/src/${MAKEFILE}
|
|
|
|
post-install:
|
|
@cd ${STAGEDIR}${PREFIX}/etc/highlight && ${MV} filetypes.conf \
|
|
filetypes.conf.sample
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/highlight
|
|
|
|
.include <bsd.port.mk>
|