From f5d187b67c6c37a19217c7aab6f643ddcac79a07 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Wed, 14 Apr 2004 21:54:24 +0000 Subject: [PATCH] Utilize devel/pear-PEAR/Makefile.common PR: ports/65510 Submitted by: Roman Neuhauser Approved by: mat (mentor). --- www/pear-HTTP_Upload/Makefile | 17 ++++++----------- www/pear-HTTP_Upload/pkg-descr | 8 ++++---- www/pear-HTTP_Upload/pkg-plist | 5 ----- 3 files changed, 10 insertions(+), 20 deletions(-) delete mode 100644 www/pear-HTTP_Upload/pkg-plist 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 .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 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%%