- Add LICENSE and LICENSE_FILE
- Switch to USES=libtool, drop .la files - Strip libraries - Silence post-patch and post-configure
This commit is contained in:
parent
c5221ce4f1
commit
83f180282f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365321
2 changed files with 9 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= oniguruma
|
||||
PORTVERSION= 4.7.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel textproc
|
||||
MASTER_SITES= http://www.geocities.jp/kosako3/oniguruma/archive/
|
||||
DISTNAME= onig-${PORTVERSION}
|
||||
|
@ -11,10 +12,15 @@ DIST_SUBDIR= ruby
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= BSDL Regular Expressions library compatible with POSIX/GNU/Perl
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
NO_LATEST_LINK= yes
|
||||
USES= libtool
|
||||
CONFLICTS= oniguruma-2.*
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
DOCS= HISTORY README doc/*
|
||||
|
||||
PKGNAMESUFFIX= 4
|
||||
|
@ -22,12 +28,12 @@ PKGNAMESUFFIX= 4
|
|||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
|
||||
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
|
||||
-e 's|freebsd1|freebsd1.|' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
post-configure:
|
||||
${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
|
||||
@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
|
||||
${FILESDIR}/onig-config > ${WRKSRC}/onig-config
|
||||
|
||||
post-install:
|
||||
|
|
|
@ -3,9 +3,9 @@ include/oniggnu.h
|
|||
include/onigposix.h
|
||||
include/oniguruma.h
|
||||
lib/libonig.a
|
||||
lib/libonig.la
|
||||
lib/libonig.so
|
||||
lib/libonig.so.1
|
||||
lib/libonig.so.1.0.0
|
||||
%%PORTDOCS%%%%DOCSDIR%%/API
|
||||
%%PORTDOCS%%%%DOCSDIR%%/API.ja
|
||||
%%PORTDOCS%%%%DOCSDIR%%/FAQ
|
||||
|
|
Loading…
Reference in a new issue