freebsd-ports/sysutils/kiconvtool/Makefile
Dmitry Marakasov 542a52fa30 - Update to 0.91 (add manpage, fix error handling)
Approved by:	miwi (mentor)
2008-07-07 19:17:24 +00:00

30 lines
754 B
Makefile

# New ports collection makefile for: kiconvtool
# Date created: 25 Jun 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kiconvtool
PORTVERSION= 0.91
CATEGORIES= sysutils
MASTER_SITES= http://www.amdmi3.ru/distfiles/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= amdmi3
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tool to preload kernel iconv charset tables
PLIST_FILES= sbin/kiconvtool etc/rc.d/kiconv
MAN8= kiconvtool.8
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/kiconv.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/kiconvtool ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/kiconv.sh ${PREFIX}/etc/rc.d/kiconv
${INSTALL_MAN} ${WRKSRC}/kiconvtool.8 ${MAN8PREFIX}/man/man8/
.include <bsd.port.mk>