aboutsummaryrefslogtreecommitdiff
path: root/www/entrans
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-28 14:56:51 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-28 14:56:51 +0000
commit7963329e2dc4416202d2b59e2cef8002c5469352 (patch)
treee74858547872bb997703082d44bca51df5892742 /www/entrans
parent08fed46179d99ff9a6f96505cdbd2f6e44d56e08 (diff)
downloadports-7963329e2dc4416202d2b59e2cef8002c5469352.tar.gz
ports-7963329e2dc4416202d2b59e2cef8002c5469352.zip
Notes
Diffstat (limited to 'www/entrans')
-rw-r--r--www/entrans/Makefile53
-rw-r--r--www/entrans/distinfo3
-rw-r--r--www/entrans/pkg-descr21
-rw-r--r--www/entrans/pkg-message3
4 files changed, 80 insertions, 0 deletions
diff --git a/www/entrans/Makefile b/www/entrans/Makefile
new file mode 100644
index 000000000000..2343d79887e8
--- /dev/null
+++ b/www/entrans/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: entrans
+# Date created: Jan-25-2007
+# Whom: Prudhvi Krishna <prudhvikrishna@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= entrans
+PORTVERSION= 0.3.2
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= prudhvikrishna@gmail.com
+COMMENT= Entrans is an online, collaborative translation tool
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_PHP= mysql
+NO_BUILD= YES
+WANT_PHP_WEB= YES
+ENTRANS?= www/entrans
+PLIST_SUB+= ENTRANS=${ENTRANS}
+PLIST= ${WRKDIR}/pkg-plist
+
+PORTDOCS= README INSTALL COPYING AUTHORS HACKING THANKS
+
+pre-install:
+ cd ${WRKSRC} && ${FIND} -s * -type f | \
+ ${SED} -e 's|^|${ENTRANS}/|' > ${PLIST} \
+ && ${FIND} -d * -type d | \
+ ${SED} -e 's|^|@dirrm ${ENTRANS}/|' >> ${PLIST} \
+ && ${ECHO_CMD} @dirrm ${ENTRANS} >> ${PLIST} \
+ && ${ECHO_CMD} @dirrmtry www/data >> ${PLIST}
+ if [ ! -f ${WRKSRC}/conf/database.conf.php.sample ]; then ${CP} \
+ ${WRKSRC}/conf/database.conf.php.sample ${WRKSRC}/conf/database.conf.php; fi
+
+do-install:
+ -@${MKDIR} ${PREFIX}/${ENTRANS}
+ @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${ENTRANS}
+ @${CHMOD} 755 ${PREFIX}/${ENTRANS}
+ ${CP} -R ${WRKSRC}/ ${PREFIX}/${ENTRANS}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
+.endfor
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/entrans/distinfo b/www/entrans/distinfo
new file mode 100644
index 000000000000..c70122f39a9d
--- /dev/null
+++ b/www/entrans/distinfo
@@ -0,0 +1,3 @@
+MD5 (entrans-0.3.2.tar.gz) = 5dd7680126aa5facfd20f507ef90a24a
+SHA256 (entrans-0.3.2.tar.gz) = d6c83483f047ffb2dd9e3a0ba3f6adcc993b8e8108acafeb298673311e2132a5
+SIZE (entrans-0.3.2.tar.gz) = 128415
diff --git a/www/entrans/pkg-descr b/www/entrans/pkg-descr
new file mode 100644
index 000000000000..ab2f94033eb8
--- /dev/null
+++ b/www/entrans/pkg-descr
@@ -0,0 +1,21 @@
+Entrans is an online, collaborative translation tool that
+can be used for the translation of PO (Portable Object)
+files. Entrans was developed with Indic community in mind
+and has features, like built-in input editor, that make the
+translation job a lot easier for Indic translators.
+
+Some of the other useful features include
+
+ * Simple and easy to use interface
+ * User account management
+ * Multiple levels of user roles for different task allocation
+ * Seamless reuse of translations
+ * Search and lookup
+ * Navigation through untranslated strings
+ * Header editing option
+ * Vote for translations
+ * Machine translation and transliteration
+ * Upload files as compressed archives of PO files
+ * Upload files through URLs
+
+WWW: http://entrans.sourceforge.net
diff --git a/www/entrans/pkg-message b/www/entrans/pkg-message
new file mode 100644
index 000000000000..e0403754642a
--- /dev/null
+++ b/www/entrans/pkg-message
@@ -0,0 +1,3 @@
+Make sure you create Virtual Directories to reflect the Doc-root of entrans
+if you are creating a VHost look for the <VirtualHost> directive and then set
+DocumentRoot appropriatel.