freebsd-ports/devel/oniguruma/Makefile
Yuri Victorovich e75b5031ce devel/oniguruma: Update to 6.7.1
Change log:
https://github.com/kkos/oniguruma/releases/tag/v6.7.1

Reported by:	portscout
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14081
2018-01-28 17:35:35 +00:00

42 lines
1.2 KiB
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= oniguruma
DISTVERSION= 6.7.1
CATEGORIES= devel textproc
MASTER_SITES= https://github.com/kkos/${PORTNAME}/releases/download/v${DISTVERSION}/
DISTNAME= onig-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Regular expressions library compatible with POSIX/GNU/Perl
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf pathfix libtool # configure provided in the tarball breaks: https://github.com/kkos/oniguruma/issues/73
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
PATHFIX_MAKEFILEIN= Makefile.am
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
TEST_WRKSRC= ${WRKSRC}/test
TEST_TARGET= test
OPTIONS_DEFINE= STATISTICS DOCS EXAMPLES
STATISTICS_DESC= Take matching time statistical data (debug feature)
STATISTICS_CONFIGURE_WITH= statistics
PORTDOCS= *
PORTEXAMPLES= *
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>