aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/phpwebftp/Makefile37
-rw-r--r--ftp/phpwebftp/distinfo2
-rw-r--r--ftp/phpwebftp/pkg-descr3
-rw-r--r--ftp/phpwebftp/pkg-plist68
5 files changed, 111 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index 3bb75d73905..8e30c45180a 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -75,6 +75,7 @@
SUBDIR += php4-ftp
SUBDIR += php5-curl
SUBDIR += php5-ftp
+ SUBDIR += phpwebftp
SUBDIR += proftpd
SUBDIR += proftpd-mysql
SUBDIR += profxp
diff --git a/ftp/phpwebftp/Makefile b/ftp/phpwebftp/Makefile
new file mode 100644
index 00000000000..8b6d1199a78
--- /dev/null
+++ b/ftp/phpwebftp/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: phpwebftp
+# Date created: 2005-09-15
+# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
+#
+# $FreeBSD$
+#
+
+PORTNAME= phpwebftp
+PORTVERSION= 3.1
+CATEGORIES= ftp
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= phpwebftp
+DISTNAME= phpWebFTP31
+EXTRACT_SUFX= .zip
+
+MAINTAINER= acardenas@bsd.org.pe
+COMMENT= A set of PHP-scripts to manage FTP over the web
+
+USE_ZIP= yes
+NO_BUILD= yes
+USE_PHP= ftp
+PHPWEBFTPDIR?= www/data/phpWebFTP
+PLIST_SUB+= PHPWEBFTPDIR=${PHPWEBFTPDIR}
+WRKSRC= ${WRKDIR}/phpWebFTP
+
+do-configure:
+ @${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php.bak
+ @${CAT} ${WRKSRC}/config.inc.php.bak | ${TR} -d '\015' > ${WRKSRC}/config.inc.php && \
+ ${RM} ${WRKSRC}/config.inc.php.bak
+ @${FIND} -d ${WRKSRC} -name CVS -type d -print0 | ${XARGS} -0 ${RM} -R
+
+do-install:
+ @${MKDIR} ${PREFIX}/${PHPWEBFTPDIR}
+ @${CP} -R ${WRKSRC}/* ${PREFIX}/${PHPWEBFTPDIR}
+ @${CHGRP} -R ${WWWGRP} ${PREFIX}/${PHPWEBFTPDIR}
+
+.include <bsd.port.mk>
diff --git a/ftp/phpwebftp/distinfo b/ftp/phpwebftp/distinfo
new file mode 100644
index 00000000000..024ad9abdc3
--- /dev/null
+++ b/ftp/phpwebftp/distinfo
@@ -0,0 +1,2 @@
+MD5 (phpWebFTP31.zip) = 4b58bb852c844bde9944e98b46861f68
+SIZE (phpWebFTP31.zip) = 103943
diff --git a/ftp/phpwebftp/pkg-descr b/ftp/phpwebftp/pkg-descr
new file mode 100644
index 00000000000..e18e753f50e
--- /dev/null
+++ b/ftp/phpwebftp/pkg-descr
@@ -0,0 +1,3 @@
+phpWebFTP - Free web based FTP client
+
+WWW: http://www.v-wijk.net/
diff --git a/ftp/phpwebftp/pkg-plist b/ftp/phpwebftp/pkg-plist
new file mode 100644
index 00000000000..d3c508f7c7a
--- /dev/null
+++ b/ftp/phpwebftp/pkg-plist
@@ -0,0 +1,68 @@
+%%PHPWEBFTPDIR%%/config.inc.php
+%%PHPWEBFTPDIR%%/gpl.txt
+%%PHPWEBFTPDIR%%/img/zip.gif
+%%PHPWEBFTPDIR%%/img/createdir.gif
+%%PHPWEBFTPDIR%%/img/doc.gif
+%%PHPWEBFTPDIR%%/img/exe.gif
+%%PHPWEBFTPDIR%%/img/file.gif
+%%PHPWEBFTPDIR%%/img/flash.gif
+%%PHPWEBFTPDIR%%/img/folder.gif
+%%PHPWEBFTPDIR%%/img/gotodir.gif
+%%PHPWEBFTPDIR%%/img/html.gif
+%%PHPWEBFTPDIR%%/img/index.html
+%%PHPWEBFTPDIR%%/img/js.gif
+%%PHPWEBFTPDIR%%/img/leftback.gif
+%%PHPWEBFTPDIR%%/img/link.gif
+%%PHPWEBFTPDIR%%/img/listheaddiv.gif
+%%PHPWEBFTPDIR%%/img/listheader.gif
+%%PHPWEBFTPDIR%%/img/login.gif
+%%PHPWEBFTPDIR%%/img/logoff.gif
+%%PHPWEBFTPDIR%%/img/menu_delete.gif
+%%PHPWEBFTPDIR%%/img/menu_edit.gif
+%%PHPWEBFTPDIR%%/img/menu_rename.gif
+%%PHPWEBFTPDIR%%/img/menu_settings.gif
+%%PHPWEBFTPDIR%%/img/menuhead.gif
+%%PHPWEBFTPDIR%%/img/mode.gif
+%%PHPWEBFTPDIR%%/img/mov.gif
+%%PHPWEBFTPDIR%%/img/parent.gif
+%%PHPWEBFTPDIR%%/img/pdf.gif
+%%PHPWEBFTPDIR%%/img/php.gif
+%%PHPWEBFTPDIR%%/img/pic.gif
+%%PHPWEBFTPDIR%%/img/Thumbs.db
+%%PHPWEBFTPDIR%%/img/titlebar.gif
+%%PHPWEBFTPDIR%%/img/txt.gif
+%%PHPWEBFTPDIR%%/img/upload.gif
+%%PHPWEBFTPDIR%%/img/1px.gif
+%%PHPWEBFTPDIR%%/include/language/spanish.lang.php
+%%PHPWEBFTPDIR%%/include/language/catalan.lang.php
+%%PHPWEBFTPDIR%%/include/language/chinese simplified.lang.php
+%%PHPWEBFTPDIR%%/include/language/chinese.lang.php
+%%PHPWEBFTPDIR%%/include/language/czech.lang.php
+%%PHPWEBFTPDIR%%/include/language/danish.lang.php
+%%PHPWEBFTPDIR%%/include/language/dutch.lang.php
+%%PHPWEBFTPDIR%%/include/language/english.lang.php
+%%PHPWEBFTPDIR%%/include/language/french.lang.php
+%%PHPWEBFTPDIR%%/include/language/german.lang.php
+%%PHPWEBFTPDIR%%/include/language/index.html
+%%PHPWEBFTPDIR%%/include/language/italian.lang.php
+%%PHPWEBFTPDIR%%/include/language/latvian.lang.php
+%%PHPWEBFTPDIR%%/include/language/latvian-utf8.lang.php
+%%PHPWEBFTPDIR%%/include/language/polish.lang.php
+%%PHPWEBFTPDIR%%/include/language/portuguese.lang.php
+%%PHPWEBFTPDIR%%/include/language/russian.lang.php
+%%PHPWEBFTPDIR%%/include/language/slovak.lang.php
+%%PHPWEBFTPDIR%%/include/language/bulgarian.lang.php
+%%PHPWEBFTPDIR%%/include/functions.inc.php
+%%PHPWEBFTPDIR%%/include/index.html
+%%PHPWEBFTPDIR%%/include/script.js
+%%PHPWEBFTPDIR%%/index.php
+%%PHPWEBFTPDIR%%/setpermission.php
+%%PHPWEBFTPDIR%%/style/cm.css
+%%PHPWEBFTPDIR%%/style/index.html
+%%PHPWEBFTPDIR%%/tmp/index.html
+@dirrm %%PHPWEBFTPDIR%%/img
+@dirrm %%PHPWEBFTPDIR%%/include/language
+@dirrm %%PHPWEBFTPDIR%%/include
+@dirrm %%PHPWEBFTPDIR%%/style
+@dirrm %%PHPWEBFTPDIR%%/tmp
+@dirrm %%PHPWEBFTPDIR%%