freebsd-ports/devel/oniguruma5/Makefile
Sam Lawrance 0ef152d518 Update to 2.5.0
PR:		ports/88505
Submitted by:	Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
2005-11-28 13:22:14 +00:00

39 lines
910 B
Makefile

# New ports collection makefile for: Oniguruma
# Date created: 31 January 2003
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= oniguruma
PORTVERSION= 2.5.0
CATEGORIES= devel
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/
DISTNAME= onigd${PORTVERSION:S/./_/g}
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
#INSTALLS_SHLIB= yes
USE_REINPLACE= yes
DOCS= HISTORY README doc/*
# Use patch for ruby 1.8.2 rather than 1.8.3
post-patch:
${REINPLACE_CMD} 's,18: 183,18: 182,' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>