aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-07-03 07:07:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-07-03 07:07:48 +0800
commit870e3786056ecd3f1ffaec3cad9ada58c3a9e0df (patch)
tree7ba84ab2730d487a611534a07ee4c16886e14fbe
parentc7a0571ef6bb446ed5f62002a843d7fff15ed219 (diff)
downloadfreebsd-ports-gnome-870e3786056ecd3f1ffaec3cad9ada58c3a9e0df.tar.gz
freebsd-ports-gnome-870e3786056ecd3f1ffaec3cad9ada58c3a9e0df.tar.zst
freebsd-ports-gnome-870e3786056ecd3f1ffaec3cad9ada58c3a9e0df.zip
- Switch to USES=libtool, drop .la files
- Strip libraries
-rw-r--r--dns/idnkit/Makefile9
-rw-r--r--dns/idnkit/pkg-plist6
2 files changed, 7 insertions, 8 deletions
diff --git a/dns/idnkit/Makefile b/dns/idnkit/Makefile
index 77f20a610594..da79b6daf740 100644
--- a/dns/idnkit/Makefile
+++ b/dns/idnkit/Makefile
@@ -3,7 +3,7 @@
PORTNAME= idnkit
PORTVERSION= 1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= dns
MASTER_SITES= http://www.nic.ad.jp/ja/idn/idnkit/download/sources/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -11,12 +11,12 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Library to handle internationalized domain names
-USE_AUTOTOOLS= libtool
-USES= iconv
+USES= iconv libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} \
--enable-runidn \
--enable-extra-ace
+SHAREMODE= 644 # needed for libtool which runs ranlib on install
USE_LDCONFIG= yes
@@ -27,11 +27,10 @@ post-patch:
's|mode=link $$(LD)|mode=link $$(CC)|'
post-install:
- ${INSTALL_DATA} ${WRKSRC}/tools/runidn/libidnkitres.la \
- ${STAGEDIR}${PREFIX}/lib
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
(cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog NEWS README \
${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${WRKSRC}/README.ja ${STAGEDIR}${DOCSDIR}/ja
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
.include <bsd.port.mk>
diff --git a/dns/idnkit/pkg-plist b/dns/idnkit/pkg-plist
index 544a21e4bd94..f43ceffa2ad5 100644
--- a/dns/idnkit/pkg-plist
+++ b/dns/idnkit/pkg-plist
@@ -38,17 +38,17 @@ include/idn/util.h
include/idn/version.h
@dirrm include/idn
lib/libidnkit.a
-lib/libidnkit.la
lib/libidnkit.so
lib/libidnkit.so.1
+lib/libidnkit.so.1.0.2
lib/libidnkitlite.a
-lib/libidnkitlite.la
lib/libidnkitlite.so
lib/libidnkitlite.so.1
+lib/libidnkitlite.so.1.0.2
lib/libidnkitres.a
-lib/libidnkitres.la
lib/libidnkitres.so
lib/libidnkitres.so.1
+lib/libidnkitres.so.1.0.1
man/man1/idnconv.1.gz
man/man1/runidn.1.gz
man/man3/libidnkit.3.gz