freebsd-ports/devel/oniguruma/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

# 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
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 \
ruby187p248-oniguruma.patch:ruby
DIST_SUBDIR= ruby
2007-04-03 20:53:24 +02:00
EXTRACT_ONLY= onigd${PORTVERSION:S/./_/g}${EXTRACT_SUFX}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
WRKSRC= ${WRKDIR}/${PORTNAME}
2007-01-13 12:12:29 +01:00
NO_LATEST_LINK= yes
CONFLICTS_INSTALL= oniguruma-4.*
2007-01-13 12:12:29 +01:00
GNU_CONFIGURE= yes
2003-02-12 11:42:36 +01:00
DOCS= HISTORY README doc/*
2007-04-03 20:53:24 +02:00
post-patch:
${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
post-configure:
${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
${FILESDIR}/onig-config > ${WRKSRC}/onig-config
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
2008-05-30 19:09:01 +02:00
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>