aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kiconvtool/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-06-26 11:02:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-06-26 11:02:14 +0000
commit57b06340158a1e5c0daac1cc779b12312cae8d68 (patch)
tree2ca27a2125332c4f6dd4b6dc14e8dd1ab361e8cc /sysutils/kiconvtool/Makefile
parentdfa2d819b059c6eb3c35594d955d2b1eac533278 (diff)
downloadports-57b06340158a1e5c0daac1cc779b12312cae8d68.tar.gz
ports-57b06340158a1e5c0daac1cc779b12312cae8d68.zip
Notes
Diffstat (limited to 'sysutils/kiconvtool/Makefile')
-rw-r--r--sysutils/kiconvtool/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/kiconvtool/Makefile b/sysutils/kiconvtool/Makefile
new file mode 100644
index 000000000000..565c89b617ab
--- /dev/null
+++ b/sysutils/kiconvtool/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: kiconvtool
+# Date created: 25 Jun 2008
+# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kiconvtool
+PORTVERSION= 0.90
+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
+
+PORTDOCS= *
+
+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
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>