Index: head/ftp/phpwebftp/Makefile =================================================================== --- head/ftp/phpwebftp/Makefile (revision 161259) +++ head/ftp/phpwebftp/Makefile (revision 161260) @@ -1,38 +1,36 @@ # New ports collection makefile for: phpwebftp # Date created: 2005-09-15 # Whom: Jose Alonso Cardenas Marquez # # $FreeBSD$ # PORTNAME= phpwebftp -PORTVERSION= 3.2 -PORTREVISION= 1 +PORTVERSION= 3.3 CATEGORIES= ftp MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= phpwebftp -DISTNAME= phpWebFTP32 -EXTRACT_SUFX= .zip +DISTNAME= ${PORTNAME}33 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 +PHPWEBFTPDIR?= www/data-dist/${PORTNAME} PLIST_SUB+= PHPWEBFTPDIR=${PHPWEBFTPDIR} -WRKSRC= ${WRKDIR}/phpWebFTP +WRKSRC= ${WRKDIR}/${PORTNAME} 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} + ${MKDIR} ${PREFIX}/${PHPWEBFTPDIR} + @cd ${WRKSRC} && \ + ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${PHPWEBFTPDIR}/{}" \; && \ + ${FIND} -E * -type f -iregex ".*\.(php|html|css|gif|js)" \ + -exec ${INSTALL_DATA} "{}" "${PREFIX}/${PHPWEBFTPDIR}/{}" \; @${CHGRP} -R ${WWWGRP} ${PREFIX}/${PHPWEBFTPDIR} .include Property changes on: head/ftp/phpwebftp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/ftp/phpwebftp/distinfo =================================================================== --- head/ftp/phpwebftp/distinfo (revision 161259) +++ head/ftp/phpwebftp/distinfo (revision 161260) @@ -1,3 +1,3 @@ -MD5 (phpWebFTP32.zip) = 94ceb24ec758c836422e2b01c5920b03 -SHA256 (phpWebFTP32.zip) = 0eac62ba7a903e4518306c3e30d4e118eaadccfdfb968fb0b6b51410928b699d -SIZE (phpWebFTP32.zip) = 109053 +MD5 (phpwebftp33.zip) = d3cea8da4ddf19b9703b4f6feb1bc28b +SHA256 (phpwebftp33.zip) = 1bc13fb68b59085d3d0f6c680d3cab4fe1d8bbe30f483b1bee136e6127d75d5a +SIZE (phpwebftp33.zip) = 103220 Property changes on: head/ftp/phpwebftp/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/ftp/phpwebftp/pkg-plist =================================================================== --- head/ftp/phpwebftp/pkg-plist (revision 161259) +++ head/ftp/phpwebftp/pkg-plist (revision 161260) @@ -1,71 +1,72 @@ %%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/bulgarian.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/japanese.lang.php %%PHPWEBFTPDIR%%/include/language/latvian.lang.php %%PHPWEBFTPDIR%%/include/language/latvian-utf8.lang.php %%PHPWEBFTPDIR%%/include/language/norwegian.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/spanish.lang.php %%PHPWEBFTPDIR%%/include/language/swedish.lang.php %%PHPWEBFTPDIR%%/include/language/turkish.lang.php %%PHPWEBFTPDIR%%/include/language/ukrainian.lang.php +%%PHPWEBFTPDIR%%/include/ftp.class.php %%PHPWEBFTPDIR%%/include/functions.inc.php +%%PHPWEBFTPDIR%%/include/ss_zip.class.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%% Property changes on: head/ftp/phpwebftp/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property