aboutsummaryrefslogtreecommitdiff
path: root/www/pear-HTTP_Upload
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-04-14 21:54:24 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-04-14 21:54:24 +0000
commitf5d187b67c6c37a19217c7aab6f643ddcac79a07 (patch)
tree93178c03f3055a4dc14ec09dd1c1782e139bfb39 /www/pear-HTTP_Upload
parent54f6c0745885bbad858cef50d6d583aea8590374 (diff)
downloadports-f5d187b67c6c37a19217c7aab6f643ddcac79a07.tar.gz
ports-f5d187b67c6c37a19217c7aab6f643ddcac79a07.zip
Notes
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 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%%