summaryrefslogtreecommitdiffstats
path: root/www/pear-HTTP_Upload
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-04-14 21:54:24 +0000
committerthierry <thierry@FreeBSD.org>2004-04-14 21:54:24 +0000
commit883ab2f3e8567da82a4925d3983c9b6d1ef3360e (patch)
tree3d04dc5ca8979600304fcec9c7d5b6e87a16e596 /www/pear-HTTP_Upload
parent2b021884ecab8aefad20f5fde03977a67d7937a7 (diff)
downloadFreeBSD-ports-883ab2f3e8567da82a4925d3983c9b6d1ef3360e.zip
FreeBSD-ports-883ab2f3e8567da82a4925d3983c9b6d1ef3360e.tar.gz
Utilize devel/pear-PEAR/Makefile.common
PR: ports/65510 Submitted by: Roman Neuhauser Approved by: mat (mentor).
Diffstat (limited to 'www/pear-HTTP_Upload')
-rw-r--r--www/pear-HTTP_Upload/Makefile17
-rw-r--r--www/pear-HTTP_Upload/pkg-descr8
-rw-r--r--www/pear-HTTP_Upload/pkg-plist5
3 files changed, 10 insertions, 20 deletions
diff --git a/www/pear-HTTP_Upload/Makefile b/www/pear-HTTP_Upload/Makefile
index 5bafc48..7609104 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 6ce8f3d..7d8fc8e 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 eb5a7bc..0000000
--- 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%%
OpenPOWER on IntegriCloud