aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2013-01-16 08:16:20 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2013-01-16 08:16:20 +0000
commitf7ca418819a47e02138038e1f64635249907c3dc (patch)
tree536c52078604973aa92f7e5038e528a5eed63529 /devel
parenteea4e9f3da3849fb685c57355379d4cfdb15e3c4 (diff)
downloadports-f7ca418819a47e02138038e1f64635249907c3dc.tar.gz
ports-f7ca418819a47e02138038e1f64635249907c3dc.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/oniguruma5/Makefile29
-rw-r--r--devel/oniguruma5/distinfo4
2 files changed, 17 insertions, 16 deletions
diff --git a/devel/oniguruma5/Makefile b/devel/oniguruma5/Makefile
index f66d552f0d44..2098b450497c 100644
--- a/devel/oniguruma5/Makefile
+++ b/devel/oniguruma5/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= oniguruma
-PORTVERSION= 5.9.2
+PORTVERSION= 5.9.3
CATEGORIES= devel textproc
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/
DISTNAME= onig-${PORTVERSION}
@@ -11,32 +11,33 @@ DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/COPYING
+
CONFLICTS= oniguruma-2.*
+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-DOCS= HISTORY README doc/*
+MAKE_JOBS_SAFE= yes
post-patch:
- ${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
- -e 's|freebsd1|freebsd1.|' \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ '/^INCLUDES/s|$$(includedir)||' ${WRKSRC}/Makefile.in
post-configure:
- ${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
${FILESDIR}/onig-config > ${WRKSRC}/onig-config
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
+ @${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${DOCSDIR})
+ (cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DOCSDIR})
.endif
.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample/*.c ${WRKSRC}/sample/Makefile* \
- ${EXAMPLESDIR}/
+ @${MKDIR} ${EXAMPLESDIR}
+ (cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c Makefile* ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
diff --git a/devel/oniguruma5/distinfo b/devel/oniguruma5/distinfo
index c2021ca906a5..56fed3cc8fa8 100644
--- a/devel/oniguruma5/distinfo
+++ b/devel/oniguruma5/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ruby/onig-5.9.2.tar.gz) = 10e7b04ca0baaef2c26f32b37bb70d898b3642d38aefd5ad5062a20f86b751f6
-SIZE (ruby/onig-5.9.2.tar.gz) = 539739
+SHA256 (ruby/onig-5.9.3.tar.gz) = c3bba66b2a84760e6582c40881db97c839d94f327870009724bb8b4d0c051f2a
+SIZE (ruby/onig-5.9.3.tar.gz) = 566875