freebsd-ports/textproc/teckit/Makefile
Alexey Dokuchaev dbef05a3f2 Unbreak with pre-C++11 compilers, e.g. with gcc 4.2.1 which is still the
default compiler on some tier-2 architectures like powerpc and sparc64,
by using identical types from C's <stdint.h> rather than C++'s <cstdint>
header file.  While here, convert to USES+=localbase.

PR:		225171
Reported by:	jhibbits
2018-01-15 10:01:19 +00:00

36 lines
865 B
Makefile

# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
# $FreeBSD$
PORTNAME= teckit
PORTVERSION= 2.5.7
DISTVERSIONPREFIX= v
CATEGORIES= textproc converters
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= Toolkit for converting data between 8-bit legacy encodings and Unicode
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/license/LICENSING.txt
LIB_DEPENDS= libexpat.so:textproc/expat2
USES= autoreconf libtool localbase pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= silnrsi
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
DOCS= AUTHORS README NEWS docs/*.pdf license/LICENSING.txt
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/sfconv_CXXFLAGS = -std=c++11/d' \
${WRKSRC}/bin/Makefile.am
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>