1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/dns/idnkit/Makefile
John Marino 9f8b1067ac dns/idnkit: Fix sample files in pkg-plist
PR:		192631
Submitted by:	michelle
2014-08-13 20:16:14 +00:00

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>