1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/dns/idnkit/Makefile
Muhammad Moinur Rahman 69830be973
dns/idnkit: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-23 16:22:57 +01:00

42 lines
1.1 KiB
Makefile

PORTNAME= idnkit
PORTVERSION= 1.0
PORTREVISION= 8
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
WWW= https://www.nic.ad.jp/ja/idn/idnkit/download/
LICENSE= JPNIC
LICENSE_NAME= Japan Network Information Center license
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= iconv libtool
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} \
--enable-runidn \
--enable-extra-ace
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:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
(cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog NEWS README \
${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${WRKSRC}/README.ja ${STAGEDIR}${DOCSDIR}/ja
.include <bsd.port.mk>