1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Switch to USES=libtool, drop .la files

- Strip libraries
This commit is contained in:
Dmitry Marakasov 2014-07-02 23:07:48 +00:00
parent f26db51d16
commit af2b721344
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360307
2 changed files with 7 additions and 8 deletions

View File

@ -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>

View File

@ -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