blob: 016e30a3b7900dd25ffae7e47c4cc6a2d80b254c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
PORTNAME= oniguruma
DISTVERSIONPREFIX= v
DISTVERSION= 6.9.7
CATEGORIES= devel textproc
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
USE_GITHUB= yes
GH_ACCOUNT= kkos
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --enable-posix-api=yes
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>
|