2003-01-31 14:03:50 +01:00
|
|
|
# New ports collection makefile for: Oniguruma
|
|
|
|
# Date created: 31 January 2003
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= oniguruma
|
2006-12-14 18:54:48 +01:00
|
|
|
PORTVERSION= 2.5.8
|
|
|
|
CATEGORIES= devel textproc
|
2011-08-23 19:34:17 +02:00
|
|
|
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/:onig \
|
|
|
|
http://www.SpringDaemons.com/stas/:ruby
|
2007-04-03 20:53:24 +02:00
|
|
|
DISTFILES= onigd${PORTVERSION:S/./_/g}${EXTRACT_SUFX}:onig \
|
2010-01-08 01:14:15 +01:00
|
|
|
ruby187p248-oniguruma.patch:ruby
|
2003-01-31 14:03:50 +01:00
|
|
|
DIST_SUBDIR= ruby
|
2007-04-03 20:53:24 +02:00
|
|
|
EXTRACT_ONLY= onigd${PORTVERSION:S/./_/g}${EXTRACT_SUFX}
|
2003-01-31 14:03:50 +01:00
|
|
|
|
2006-09-27 13:52:06 +02:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-18 06:52:56 +01:00
|
|
|
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
|
2003-01-31 14:03:50 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2006-06-11 19:42:37 +02:00
|
|
|
|
2007-01-13 12:12:29 +01:00
|
|
|
NO_LATEST_LINK= yes
|
2012-01-31 05:34:58 +01:00
|
|
|
CONFLICTS_INSTALL= oniguruma-4.*
|
2007-01-13 12:12:29 +01:00
|
|
|
|
2003-01-31 14:03:50 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-02-12 11:42:36 +01:00
|
|
|
DOCS= HISTORY README doc/*
|
2003-02-04 10:39:50 +01:00
|
|
|
|
2007-04-03 20:53:24 +02:00
|
|
|
post-patch:
|
2010-01-08 01:14:15 +01:00
|
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/ruby187p248-oniguruma.patch \
|
2009-02-12 17:24:17 +01:00
|
|
|
${WRKSRC}/ruby187.patch
|
2007-04-03 20:53:24 +02:00
|
|
|
|
2006-09-27 13:52:06 +02:00
|
|
|
post-configure:
|
|
|
|
${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
|
|
|
|
${FILESDIR}/onig-config > ${WRKSRC}/onig-config
|
|
|
|
|
2003-01-31 14:03:50 +01:00
|
|
|
post-install:
|
2006-09-27 13:52:06 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin/
|
2003-01-31 14:03:50 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2003-02-04 10:39:50 +01:00
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
|
|
|
.endfor
|
2003-01-31 14:03:50 +01:00
|
|
|
.endif
|
2008-05-30 19:09:01 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
|
|
|
|
.endif
|
2003-01-31 14:03:50 +01:00
|
|
|
|
2004-02-09 06:17:29 +01:00
|
|
|
.include <bsd.port.mk>
|