mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
9f8b1067ac
PR: 192631 Submitted by: michelle
37 lines
950 B
Makefile
37 lines
950 B
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= idnkit
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= dns
|
|
MASTER_SITES= http://www.nic.ad.jp/ja/idn/idnkit/download/sources/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Library to handle internationalized domain names
|
|
|
|
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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|mode=link $$(LD)|mode=link $$(CC)|'
|
|
|
|
post-install:
|
|
@${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>
|