Index: head/www/entrans/Makefile =================================================================== --- head/www/entrans/Makefile (revision 391134) +++ head/www/entrans/Makefile (revision 391135) @@ -1,44 +1,40 @@ # Created by: Prudhvi Krishna # $FreeBSD$ PORTNAME= entrans PORTVERSION= 0.3.2 CATEGORIES= www MASTER_SITES= SF MAINTAINER= prudhvi-krishna-bsd@surapaneni.in COMMENT= Entrans is an online, collaborative translation tool -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - USE_PHP= mysql -NO_BUILD= YES -WANT_PHP_WEB= YES +NO_BUILD= yes +NO_ARCH= yes +WANT_PHP_WEB= yes ENTRANS?= www/entrans PLIST_SUB+= ENTRANS=${ENTRANS} PLIST= ${WRKDIR}/pkg-plist PORTDOCS= README INSTALL COPYING AUTHORS HACKING THANKS OPTIONS_DEFINE= DOCS 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} + && ${FIND} -d * -type d -empty | \ + ${SED} -e 's|^|@dir ${ENTRANS}/|' >> ${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} ${STAGEDIR}${PREFIX}/${ENTRANS} - @${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${ENTRANS} - @${CHMOD} 755 ${STAGEDIR}${PREFIX}/${ENTRANS} + @${MKDIR} ${STAGEDIR}${PREFIX}/${ENTRANS} ${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${ENTRANS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i} .endfor .include Index: head/www/entrans/pkg-descr =================================================================== --- head/www/entrans/pkg-descr (revision 391134) +++ head/www/entrans/pkg-descr (revision 391135) @@ -1,21 +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 +WWW: http://entrans.sourceforge.net/