aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/japana/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/japana/Makefile')
-rw-r--r--japanese/japana/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/japanese/japana/Makefile b/japanese/japana/Makefile
new file mode 100644
index 000000000000..7b3cfc61cc2b
--- /dev/null
+++ b/japanese/japana/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: japana
+# Date created: 04 February 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= japana
+PORTVERSION= 2.0.6
+CATEGORIES= japanese www
+MASTER_SITES= SF
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Web proxy converting Japanese into Romaji
+
+RUN_DEPENDS= *p5-Text-Kakasi>=2:${PORTSDIR}/japanese/p5-Text-Kakasi \
+ p5-AppConfig>=0:${PORTSDIR}/devel/p5-AppConfig \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+
+MAN1= ${PORTNAME}.1
+PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.default
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/${PORTNAME}* ${WRKSRC}/default.conf
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
+ @${INSTALL_DATA} ${WRKSRC}/default.conf ${PREFIX}/etc/${PORTNAME}.conf.default
+
+.include <bsd.port.mk>