aboutsummaryrefslogtreecommitdiff
path: root/www/entrans
diff options
context:
space:
mode:
authorBartek Rutkowski <robak@FreeBSD.org>2015-07-02 11:53:57 +0000
committerBartek Rutkowski <robak@FreeBSD.org>2015-07-02 11:53:57 +0000
commitfc7e200928c0077487d9cefd1ad5a6cad03c30de (patch)
treeecfc480a675de4d3afaf035552fc54b32f117a84 /www/entrans
parent84d9a3bdf037c6f0f83991fbfaf0649315765d98 (diff)
downloadports-fc7e200928c0077487d9cefd1ad5a6cad03c30de.tar.gz
ports-fc7e200928c0077487d9cefd1ad5a6cad03c30de.zip
Notes
Diffstat (limited to 'www/entrans')
-rw-r--r--www/entrans/Makefile16
-rw-r--r--www/entrans/pkg-descr2
2 files changed, 7 insertions, 11 deletions
diff --git a/www/entrans/Makefile b/www/entrans/Makefile
index a241e26e06ed..2325bd4c7745 100644
--- a/www/entrans/Makefile
+++ b/www/entrans/Makefile
@@ -9,11 +9,10 @@ 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
@@ -25,16 +24,13 @@ 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}
diff --git a/www/entrans/pkg-descr b/www/entrans/pkg-descr
index ab2f94033eb8..512e4987e8a2 100644
--- a/www/entrans/pkg-descr
+++ b/www/entrans/pkg-descr
@@ -18,4 +18,4 @@ Some of the other useful features include
* Upload files as compressed archives of PO files
* Upload files through URLs
-WWW: http://entrans.sourceforge.net
+WWW: http://entrans.sourceforge.net/