aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-08-18 23:56:27 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-08-18 23:56:27 +0800
commit379401157cb1e243cca5e534a1080592da6e1a95 (patch)
treedfe9ac3524ae145171122a0456eff529c7fbc07c /devel
parentf586728013dcb08a889ee4a2d8eb406c03d762c8 (diff)
downloadfreebsd-ports-gnome-379401157cb1e243cca5e534a1080592da6e1a95.tar.gz
freebsd-ports-gnome-379401157cb1e243cca5e534a1080592da6e1a95.tar.zst
freebsd-ports-gnome-379401157cb1e243cca5e534a1080592da6e1a95.zip
- Add LICENSE and LICENSE_FILE
- Switch to USES=libtool, drop .la files - Strip libraries - Silence post-patch and post-configure
Diffstat (limited to 'devel')
-rw-r--r--devel/oniguruma4/Makefile10
-rw-r--r--devel/oniguruma4/pkg-plist2
2 files changed, 9 insertions, 3 deletions
diff --git a/devel/oniguruma4/Makefile b/devel/oniguruma4/Makefile
index 1b6f51e17571..4a673e5d86e6 100644
--- a/devel/oniguruma4/Makefile
+++ b/devel/oniguruma4/Makefile
@@ -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:
diff --git a/devel/oniguruma4/pkg-plist b/devel/oniguruma4/pkg-plist
index a2c39d416452..83db0dae0ce5 100644
--- a/devel/oniguruma4/pkg-plist
+++ b/devel/oniguruma4/pkg-plist
@@ -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