1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

New port: devel/pear-PEAR_PackageFileManager PEAR class to maintain PEAR packages

PEAR::PEAR_PackageFileManager revolutionizes the maintenance of PEAR packages.

PR:		ports/81398
Submitted by:	Antonio Carlos Venancio Junior <antonio@php.net>
This commit is contained in:
Pav Lucistnik 2005-05-24 21:18:56 +00:00
parent 354b136c99
commit 7ae5836912
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136063
4 changed files with 171 additions and 0 deletions

View File

@ -1182,6 +1182,7 @@
SUBDIR += pear-I18N
SUBDIR += pear-OLE
SUBDIR += pear-PEAR
SUBDIR += pear-PEAR_PackageFileManager
SUBDIR += pear-PHPUnit
SUBDIR += pear-PHPUnit2
SUBDIR += pear-PHP_Beautifier

View File

@ -0,0 +1,144 @@
# Ports collection makefile for: pear-PEAR_PackageFileManager
# Date created: 23 May 2005
# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#
PORTNAME= PEAR_PackageFileManager
PORTVERSION= 1.5.2
CATEGORIES= devel www pear
MAINTAINER= antonio@php.net
COMMENT= PEAR class to maintain PEAR packages
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
LATEST_LINK= pear-${PORTNAME}
OPTIONS= PEAR_PHP_COMPATINFO "PEAR::PHP_CompatInfo support" off \
PEAR_XML_TREE "PEAR::XML_Tree support" off
CATEGORY= PEAR
FILES= PackageFileManager/Cvs.php PackageFileManager/File.php \
PackageFileManager/Perforce.php \
PackageFileManager/SimpleGenerator.php \
PackageFileManager/Svn.php \
PackageFileManager/XMLOutput.php PackageFileManager.php
EXAMPLES= createPhpDocumentor_package.xml.php generatePackage.xml.php
TESTS= addConfigureOption/test_invalid_nosetoptions.phpt \
addConfigureOption/test_valid_add1.phpt \
addConfigureOption/test_valid_add2.phpt \
addConfigureOption/test_valid_replace.phpt \
addDependency/test_invalid_nosetoptions.phpt \
addDependency/test_invalid_phppkg.phpt \
addDependency/test_valid_add_php.phpt \
addDependency/test_valid_add_pkg_explicit.phpt \
addDependency/test_valid_add_pkg_implicit.phpt \
addDependency/test_valid_replace.phpt \
addMaintainer/test_invalid_nosetoptions.phpt \
addMaintainer/test_invalid_wrongrole.phpt \
addMaintainer/test_valid_add.phpt \
addMaintainer/test_valid_replace.phpt \
addReplacement/test_invalid_replacement.phpt \
addReplacement/test_valid_replacement.phpt \
addRole/test_invalid_role.phpt \
addRole/test_valid_role.phpt \
footest/blarfoo/blartest.txt \
footest/subfoo/subsubfoo/boo.txt \
footest/subfoo/test11.txt footest/subfoo/test12.txt \
footest/testCVS/testEntries \
footest/testCVS/testEntries.Extra footest/.test \
footest/test1.txt footest/test2.txt \
generateNewPackageXML/test_invalid_nodescription.phpt \
generateNewPackageXML/test_invalid_nopackage.phpt \
generateNewPackageXML/test_invalid_nosummary.phpt \
generateNewPackageXML/test_valid_simple.phpt \
generateNewPackageXML/test_valid_withdeps.phpt \
generateNewPackageXML/test_valid_withdepsfalse.phpt \
generateNewPackageXML/test_valid_withmaintainers.phpt \
generateNewPackageXML/test_valid_withmaintainersfalse.phpt \
getExistingPackageXML/test_invalid_notexists_nopackage.phpt \
getExistingPackageXML/test_invalid_wrongdir.phpt \
getExistingPackageXML/test_valid_deps.phpt \
getExistingPackageXML/test_valid_maintainers.phpt \
getExistingPackageXML/test_valid_simple.phpt \
importOptions/test_invalid.phpt \
importOptions/test_valid.phpt \
PEAR_PackageFileManager_CVS/footest/blarfoo/blartest.txt \
PEAR_PackageFileManager_CVS/footest/subfoo/subsubfoo/boo.txt \
PEAR_PackageFileManager_CVS/footest/subfoo/test11.txt \
PEAR_PackageFileManager_CVS/footest/subfoo/test12.txt \
PEAR_PackageFileManager_CVS/footest/testCVS/testEntries \
PEAR_PackageFileManager_CVS/footest/testCVS/testEntries.Extra \
PEAR_PackageFileManager_CVS/footest/.test \
PEAR_PackageFileManager_CVS/footest/test1.txt \
PEAR_PackageFileManager_CVS/footest/test2.txt \
PEAR_PackageFileManager_CVS/setup.php.inc \
PEAR_PackageFileManager_CVS/test_dirList_invalid.phpt \
PEAR_PackageFileManager_CVS/test_dirList_valid.phpt \
PEAR_PackageFileManager_CVS/test_dirList_valid_with_ignore.phpt \
PEAR_PackageFileManager_CVS/test_dirList_valid_with_include.phpt \
PEAR_PackageFileManager_CVS/test_general_valid1.phpt \
PEAR_PackageFileManager_CVS/test_general_valid2.phpt \
PEAR_PackageFileManager_File/checkIgnore/test_complex_multiple_no.phpt \
PEAR_PackageFileManager_File/checkIgnore/test_complex_multiple_pass.phpt \
PEAR_PackageFileManager_File/checkIgnore/test_complex_no.phpt \
PEAR_PackageFileManager_File/checkIgnore/test_emptyarray.phpt \
PEAR_PackageFileManager_File/checkIgnore/test_nonarray.phpt \
PEAR_PackageFileManager_File/checkIgnore/test_simple_dir_no.phpt \
PEAR_PackageFileManager_File/checkIgnore/test_simple_dir_pass.phpt \
PEAR_PackageFileManager_File/checkIgnore/test_simple_no.phpt \
PEAR_PackageFileManager_File/checkIgnore/test_simple_pass.phpt \
PEAR_PackageFileManager_File/dirList/test_bug1217/0 \
PEAR_PackageFileManager_File/dirList/test_bug1217/firstfile.php \
PEAR_PackageFileManager_File/dirList/test_bug1217/fourthfile.php \
PEAR_PackageFileManager_File/dirList/test_bug1217/secondfile.php \
PEAR_PackageFileManager_File/dirList/test_bug1217.phpt \
PEAR_PackageFileManager_File/dirList/test_invalid.phpt \
PEAR_PackageFileManager_File/dirList/test_valid.phpt \
PEAR_PackageFileManager_File/dirList/test_valid_addhiddenfiles.phpt \
PEAR_PackageFileManager_File/dirList/test_valid_with_ignore.phpt \
PEAR_PackageFileManager_File/dirList/test_valid_with_include.phpt \
PEAR_PackageFileManager_File/getFileList/test_valid.phpt \
PEAR_PackageFileManager_File/getRegExpableSearchString/test_1.phpt \
PEAR_PackageFileManager_File/getRegExpableSearchString/test_dir_regexp.phpt \
PEAR_PackageFileManager_File/getRegExpableSearchString/test_file_regexp.phpt \
PEAR_PackageFileManager_File/setDir/test_concept.phpt \
PEAR_PackageFileManager_File/setupDirs/test_concept.phpt \
PEAR_PackageFileManager_File/setupDirs/test_valid.phpt \
PEAR_PackageFileManager_File/setupIgnore/test_complex.phpt \
PEAR_PackageFileManager_File/setupIgnore/test_complex_multiple.phpt \
PEAR_PackageFileManager_File/setupIgnore/test_emptyarray.phpt \
PEAR_PackageFileManager_File/setupIgnore/test_nonarray.phpt \
PEAR_PackageFileManager_File/setupIgnore/test_simple.phpt \
PEAR_PackageFileManager_File/setupIgnore/test_simple_0.phpt \
PEAR_PackageFileManager_File/setupIgnore/test_simple_dir.phpt \
PEAR_PackageFileManager_File/setup.php.inc \
PEAR_PackageFileManager_XMLOutput/test_valid1.phpt \
setOptions/test_invalid_badfilelistgenerator1.phpt \
setOptions/test_invalid_badfilelistgenerator2.phpt \
setOptions/test_invalid_badfilelistgenerator3.phpt \
setOptions/test_invalid_filelistgeneratorcustom.phpt \
setOptions/test_invalid_nobaseinstalldir.phpt \
setOptions/test_invalid_nopackagedir.phpt \
setOptions/test_invalid_nostate.phpt \
setOptions/test_invalid_noversion.phpt \
setOptions/test_valid_filelistgeneratorcustom.phpt \
setOptions/test_valid_filelistgeneratorcvs.phpt \
setOptions/test_valid_filelistgeneratorfile.phpt \
Bad_file.php phpt_test.php.inc setup.php.inc test1_package.xml \
Test_file.php
.include <bsd.port.pre.mk>
.if defined(WITH_PEAR_PHP_COMPATINFO)
RUN_DEPENDS+= ${PEARDIR}/PHP/CompatInfo.php:${PORTSDIR}/devel/pear-PHP_CompatInfo
.endif
.if defined(WITH_PEAR_XML_TREE)
RUN_DEPENDS+= ${PEARDIR}/XML/Tree.php:${PORTSDIR}/devel/pear-XML_Tree
.endif
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (PEAR/PEAR_PackageFileManager-1.5.2.tgz) = 76b2b2f9c3491e451caf11adebf04df6
SIZE (PEAR/PEAR_PackageFileManager-1.5.2.tgz) = 46832

View File

@ -0,0 +1,24 @@
PEAR::PEAR_PackageFileManager revolutionizes the maintenance of PEAR packages.
With a few parameters, the entire package.xml is automatically updated with a
listing of all files in a package.
Features include
- can detect PHP and extension dependencies using PHP_CompatInfo
- reads in an existing package.xml file, and only changes the
release/changelog
- a plugin system for retrieving files in a directory. Currently two plugins
exist, one for standard recursive directory content listing, and one that
reads the CVS/Entries files and generates a file listing based on the
contents of a checked out CVS repository
- incredibly flexible options for assigning install roles to files/directories
- ability to ignore any file based on a * ? wildcard-enabled string(s)
- ability to include only files that match a * ? wildcard-enabled string(s)
- ability to manage dependencies
- can output the package.xml in any directory, and read in the package.xml
file from any directory.
- can specify a different name for the package.xml file
PEAR_PackageFileManager is fully unit tested.
WWW: http://pear.php.net/package/PEAR_PackageFileManager/