mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# New ports collection makefile for: oniguruma4
|
|
# Date created: 31 January 2003
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= oniguruma
|
|
PORTVERSION= 5.9.2
|
|
CATEGORIES= devel textproc
|
|
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/
|
|
DISTNAME= onig-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
|
|
|
|
WITH_FBSD10_FIX=yes
|
|
CONFLICTS= oniguruma-2.*
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
DOCS= HISTORY README doc/*
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
|
|
-e 's|freebsd1|freebsd1.|' \
|
|
${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
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/sample/*.c ${WRKSRC}/sample/Makefile* \
|
|
${EXAMPLESDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|