Lines 2-41
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= oniguruma |
4 |
PORTNAME= oniguruma |
5 |
PORTVERSION= 6.6.1 |
|
|
6 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
|
|
6 |
DISTVERSION= 6.7.0 |
7 |
CATEGORIES= devel textproc |
7 |
CATEGORIES= devel textproc |
8 |
PKGNAMESUFFIX= 6 |
8 |
PKGNAMESUFFIX= 6 |
9 |
|
9 |
|
10 |
MAINTAINER= rob@theseusnetworking.com |
10 |
MAINTAINER= yuri@FreeBSD.org |
11 |
COMMENT= BSDL Regular Expressions library compatible with POSIX/GNU/Perl |
11 |
COMMENT= BSDL Regular Expressions library compatible with POSIX/GNU/Perl |
12 |
|
12 |
|
13 |
LICENSE= BSD2CLAUSE |
13 |
LICENSE= BSD2CLAUSE |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
15 |
|
16 |
USES= pathfix autoreconf libtool |
16 |
USES= autoreconf pathfix libtool |
17 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= kkos |
18 |
GH_ACCOUNT= kkos |
19 |
|
19 |
|
20 |
OPTIONS_DEFINE= DOCS EXAMPLES |
|
|
21 |
|
22 |
PATHFIX_MAKEFILEIN= Makefile.am |
20 |
PATHFIX_MAKEFILEIN= Makefile.am |
23 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
24 |
INSTALL_TARGET= install-strip |
22 |
CONFIGURE_ARGS= --disable-static |
25 |
USE_LDCONFIG= yes |
23 |
INSTALL_TARGET= install-strip |
26 |
TEST_TARGET= test |
24 |
USE_LDCONFIG= yes |
27 |
TEST_WRKSRC= ${WRKSRC}/test |
25 |
TEST_TARGET= test |
|
|
26 |
TEST_WRKSRC= ${WRKSRC}/test |
28 |
|
27 |
|
29 |
post-patch: |
28 |
OPTIONS_DEFINE= STATISTICS DOCS EXAMPLES |
30 |
@${REINPLACE_CMD} -e \ |
29 |
STATISTICS_DESC= Take matching time statistical data (debug feature) |
31 |
'/^INCLUDES/s|$$(includedir)|| ; \ |
|
|
32 |
s|$$(<)|$$(@).in|' ${WRKSRC}/Makefile.am |
33 |
|
30 |
|
34 |
post-install: |
31 |
STATISTICS_CONFIGURE_WITH= statistics |
|
|
32 |
|
33 |
PORTDOCS= * |
34 |
PORTEXAMPLES= * |
35 |
|
36 |
post-install-DOCS-on: |
35 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
37 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
36 |
(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${STAGEDIR}${DOCSDIR}) |
38 |
cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${STAGEDIR}${DOCSDIR} |
37 |
(cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}) |
39 |
cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR} |
|
|
40 |
|
41 |
post-install-EXAMPLES-on: |
38 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
42 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
39 |
(cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c ${STAGEDIR}${EXAMPLESDIR}) |
43 |
cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c ${STAGEDIR}${EXAMPLESDIR} |
40 |
|
44 |
|
41 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |