diff options
Diffstat (limited to 'www/pear-HTTP_Upload')
-rw-r--r-- | www/pear-HTTP_Upload/Makefile | 17 | ||||
-rw-r--r-- | www/pear-HTTP_Upload/pkg-descr | 8 | ||||
-rw-r--r-- | www/pear-HTTP_Upload/pkg-plist | 5 |
3 files changed, 10 insertions, 20 deletions
diff --git a/www/pear-HTTP_Upload/Makefile b/www/pear-HTTP_Upload/Makefile index 5bafc4824ccf..76091044b270 100644 --- a/www/pear-HTTP_Upload/Makefile +++ b/www/pear-HTTP_Upload/Makefile @@ -7,6 +7,7 @@ PORTNAME= HTTP_Upload PORTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= www devel pear MAINTAINER= ports@FreeBSD.org @@ -15,17 +16,11 @@ COMMENT= Easy and secure managment of files submitted via HTML Forms BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR RUN_DEPENDS= ${BUILD_DEPENDS} +CATEGORY= HTTP +FILES= Upload.php +EXAMPLES= upload_example.php +_EXAMPLESDIR= docs + .include <bsd.port.pre.mk> .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" - -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/docs/upload_example.php ${DOCSDIR} - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." -.endif - -do-install: - @${CP} ${WRKSRC}/Upload.php ${PEARDIR} - @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Upload.php - .include <bsd.port.post.mk> diff --git a/www/pear-HTTP_Upload/pkg-descr b/www/pear-HTTP_Upload/pkg-descr index 6ce8f3dac297..7d8fc8e26763 100644 --- a/www/pear-HTTP_Upload/pkg-descr +++ b/www/pear-HTTP_Upload/pkg-descr @@ -4,8 +4,8 @@ from html forms. Features: * Safe file copying from tmp dir. * Easy detecting mechanism of valid upload, missing upload or error. * Gives extensive information about the uploaded file. - * Rename uploaded files in different ways: as it is, safe or unique - * Validate allowed file extensions - * Multiple languages error messages support (es, en, de, fr, nl) + * Rename uploaded files in different ways: as it is, safe or unique. + * Validate allowed file extensions. + * Multiple languages error messages support (es, en, de, fr, nl). -WWW: http://pear.php.net/package-info.php?package=HTTP_Upload +WWW: http://pear.php.net/package/HTTP_Upload/ diff --git a/www/pear-HTTP_Upload/pkg-plist b/www/pear-HTTP_Upload/pkg-plist deleted file mode 100644 index eb5a7bcb3849..000000000000 --- a/www/pear-HTTP_Upload/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -%%PEARDIR%%/Upload.php -%%PKGREGDIR%%/package.xml -%%PORTDOCS%%%%DOCSDIR%%/upload_example.php -@dirrm %%PKGREGDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% |