1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/devel/oniguruma5/Makefile
William Grzybowski 84399d9e9d devel/oniguruma5: update to 5.9.5
- Update to 5.9.5
- Allow staging
- Remove useless LICENSE_FILE [1]

PR:		ports/183559
Submitted by:	KATO Tsuguru <tkato432 yahoo.com>, wg [1]
2013-11-02 12:53:32 +00:00

40 lines
958 B
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= oniguruma
PORTVERSION= 5.9.5
CATEGORIES= devel textproc
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/
PKGNAMESUFFIX= 5
DISTNAME= onig-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= BSDL Regular Expressions library compatible with POSIX/GNU/Perl
LICENSE= BSD
OPTIONS_DEFINE= DOCS EXAMPLES
CONFLICTS= oniguruma-2.*
USES= pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
'/^INCLUDES/s|$$(includedir)|| ; \
s|$$(<)|$$(@).in|' ${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>