freebsd-ports/devel/oniguruma5/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

2006-12-22 13:47:41 +01:00
# New ports collection makefile for: oniguruma4
# Date created: 31 January 2003
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= oniguruma
2010-01-13 08:42:16 +01:00
PORTVERSION= 5.9.2
2006-12-14 18:54:48 +01:00
CATEGORIES= devel textproc
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/
2006-12-22 13:47:41 +01:00
DISTNAME= onig-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
2006-12-22 13:47:41 +01:00
CONFLICTS= oniguruma-2.*
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
2006-12-22 13:47:41 +01:00
USE_LDCONFIG= yes
2003-02-12 11:42:36 +01:00
DOCS= HISTORY README doc/*
post-patch:
${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
${WRKSRC}/configure
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/*.c ${WRKSRC}/sample/Makefile* \
${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>