This port is too big to fail. It took out 148 dports by itself. Switch to a different mirror (checksum still works).
43 lines
1 KiB
Makefile
43 lines
1 KiB
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= oniguruma
|
|
PORTVERSION= 4.7.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel textproc
|
|
MASTER_SITES= http://mirror.jaredwhiting.net/distfiles/ruby/
|
|
DISTNAME= onig-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= BSDL Regular Expressions library compatible with POSIX/GNU/Perl
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= libtool
|
|
CONFLICTS= oniguruma-2.*
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
DOCS= HISTORY README doc/*
|
|
|
|
PKGNAMESUFFIX= 4
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-configure:
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
|
|
${FILESDIR}/onig-config > ${WRKSRC}/onig-config
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${STAGEDIR}${PREFIX}/bin/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
.endfor
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/sample/*.c ${WRKSRC}/sample/Makefile* \
|
|
${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
.include <bsd.port.mk>
|