mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
Utilize devel/pear-PEAR/Makefile.common
PR: ports/65510 Submitted by: Roman Neuhauser Approved by: mat (mentor).
This commit is contained in:
parent
54f6c07458
commit
f5d187b67c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107077
3 changed files with 10 additions and 20 deletions
|
@ -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>
|
||||
|
|
|
@ -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/
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
%%PEARDIR%%/Upload.php
|
||||
%%PKGREGDIR%%/package.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/upload_example.php
|
||||
@dirrm %%PKGREGDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Add table
Reference in a new issue