Files
ports/textproc/uchardet/Makefile
T
Piotr Kubaj 059feb0d6e textproc/uchardet: fix build on GCC architectures
Use C++11 compiler:
  Target "libuchardet_static" requires the language dialect "CXX11" (with
  compiler extensions), but CMake does not know the compile flags to use to
  enable it.
2020-04-25 21:08:43 +00:00

28 lines
609 B
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= uchardet
DISTVERSION= 0.0.7
CATEGORIES= textproc
MASTER_SITES= https://www.freedesktop.org/software/${PORTNAME}/releases/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Universal charset detection library
LICENSE= GPLv2+ LGPL21+ MPL11
LICENSE_COMB= dual
LICENSE_FILE_MPL11= ${WRKSRC}/COPYING
USES= cmake compiler:c++11-lang pathfix tar:xz
USE_LDCONFIG= yes
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man
.if defined(WITH_DEBUG)
PLIST_SUB+= VERSION_SUFFIX=".debug"
.else
PLIST_SUB+= VERSION_SUFFIX=""
.endif
.include <bsd.port.mk>