1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/oniguruma5/Makefile
Marcelo Araujo f7ca418819 - Update to 5.9.3.
- Set MAKE_JOBS_SAFE.

PR:		ports/174175
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-01-16 08:16:20 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= oniguruma
PORTVERSION= 5.9.3
CATEGORIES= devel textproc
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/
DISTNAME= onig-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= oniguruma-2.*
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
post-patch:
@${REINPLACE_CMD} -e \
'/^INCLUDES/s|$$(includedir)||' ${WRKSRC}/Makefile.in
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}
(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${DOCSDIR})
(cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DOCSDIR})
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c Makefile* ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>