|
Lines 2-8
Link Here
|
| 2 |
# $FreeBSD: head/devel/oniguruma5/Makefile 306099 2012-10-18 19:46:04Z dinoex $ |
2 |
# $FreeBSD: head/devel/oniguruma5/Makefile 306099 2012-10-18 19:46:04Z dinoex $ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= oniguruma |
4 |
PORTNAME= oniguruma |
| 5 |
PORTVERSION= 5.9.2 |
5 |
PORTVERSION= 5.9.3 |
| 6 |
CATEGORIES= devel textproc |
6 |
CATEGORIES= devel textproc |
| 7 |
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/ |
7 |
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/ |
| 8 |
DISTNAME= onig-${PORTVERSION} |
8 |
DISTNAME= onig-${PORTVERSION} |
|
Lines 11-42
Link Here
|
| 11 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
| 12 |
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl |
12 |
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl |
| 13 |
|
13 |
|
|
|
14 |
LICENSE= BSD |
| 15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 16 |
|
| 14 |
CONFLICTS= oniguruma-2.* |
17 |
CONFLICTS= oniguruma-2.* |
|
|
18 |
|
| 15 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
| 16 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
| 17 |
DOCS= HISTORY README doc/* |
21 |
MAKE_JOBS_SAFE= yes |
| 18 |
|
22 |
|
| 19 |
post-patch: |
23 |
post-patch: |
| 20 |
${REINPLACE_CMD} -e 's|echo aout|echo elf|' \ |
24 |
@${REINPLACE_CMD} -e \ |
| 21 |
-e 's|freebsd1|freebsd1.|' \ |
25 |
'/^INCLUDES/s|$$(includedir)||' ${WRKSRC}/Makefile.in |
| 22 |
${WRKSRC}/configure |
|
|
| 23 |
|
26 |
|
| 24 |
post-configure: |
27 |
post-configure: |
| 25 |
${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ |
28 |
@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ |
| 26 |
${FILESDIR}/onig-config > ${WRKSRC}/onig-config |
29 |
${FILESDIR}/onig-config > ${WRKSRC}/onig-config |
| 27 |
|
30 |
|
| 28 |
post-install: |
31 |
post-install: |
| 29 |
${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin/ |
32 |
${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin |
| 30 |
.if !defined(NOPORTDOCS) |
33 |
.if !defined(NOPORTDOCS) |
| 31 |
${MKDIR} ${DOCSDIR} |
34 |
@${MKDIR} ${DOCSDIR} |
| 32 |
.for f in ${DOCS} |
35 |
(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${DOCSDIR}) |
| 33 |
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ |
36 |
(cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DOCSDIR}) |
| 34 |
.endfor |
|
|
| 35 |
.endif |
37 |
.endif |
| 36 |
.if !defined(NOPORTEXAMPLES) |
38 |
.if !defined(NOPORTEXAMPLES) |
| 37 |
${MKDIR} ${EXAMPLESDIR} |
39 |
@${MKDIR} ${EXAMPLESDIR} |
| 38 |
${INSTALL_DATA} ${WRKSRC}/sample/*.c ${WRKSRC}/sample/Makefile* \ |
40 |
(cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c Makefile* ${EXAMPLESDIR}) |
| 39 |
${EXAMPLESDIR}/ |
|
|
| 40 |
.endif |
41 |
.endif |
| 41 |
|
42 |
|
| 42 |
.include <bsd.port.mk> |
43 |
.include <bsd.port.mk> |