cd85fa51d5
With a few parameters, the entire package.xml is automatically updated with a listing of all files in a packages. Features include: - manpages the new package.xml 2.0 format in PEAR 1.4.0 - 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 four plugins exist, one for standard recursive directory content listing, one that reads the CVS/Entries files and generates a file listing based on the contents of a checked out CVS repository, one that reads Subversion entries files, and one that queries a Perforce repository. - incredibly flexible options for assigning install roles to files/directories - ability to ignore any file based on a * ? wildcard-enable string(s) - ability to include only file that match a * ? wildcard-enable 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 WWW: http://pear.php.net/package/PEAR_PackageFileManager2/ PR: ports/139704 Submitted by: myself (sylvio@) Approved by: miwi (mentor)
59 lines
1.8 KiB
Makefile
59 lines
1.8 KiB
Makefile
# New ports collection makefile for: pear-PEAR_PackageFileManager2
|
|
# Date created: 2009-10-17
|
|
# Whom: Sylvio Cesar <sylvio@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= PEAR_PackageFileManager2
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= devel www pear
|
|
|
|
MAINTAINER= sylvio@FreeBSD.org
|
|
COMMENT= PEAR class to maintain PEAR packages
|
|
|
|
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
CATEGORY= PEAR
|
|
|
|
FILES= PackageFileManager2.php
|
|
EXAMPLES= basicConvert.php \
|
|
detectDependencies.php \
|
|
easyMigration.php \
|
|
makepackage.php \
|
|
updatepackage.php
|
|
TESTS= importFromPackageFile1/packagefiles/package_foo.xml \
|
|
importFromPackageFile1/setup.php.inc \
|
|
importFromPackageFile1/test.phpt \
|
|
importOptions/packagefiles/package_foo.xml \
|
|
importOptions/setup.php.inc \
|
|
importOptions/test.phpt \
|
|
setOptions/existingpackagexml/package_changelog.xml \
|
|
setOptions/existingpackagexml/package_nochangelog.xml \
|
|
setOptions/setup.php.inc \
|
|
setOptions/test_existingpackagexml_changelog.phpt \
|
|
setOptions/test_existingpackagexml_nochangelog.phpt \
|
|
setOptions/test_existingpackagexml_unknownchannel.phpt \
|
|
setOptions/test_newpackagexml.phpt \
|
|
setOptions/test_nobaseinstalldir.phpt \
|
|
setOptions/test_nonrealpackagedirectory.phpt \
|
|
setOptions/test_nopackagedirectory.phpt \
|
|
writePackageFile/packagefiles/package1.xml \
|
|
writePackageFile/packagefiles/Server.php \
|
|
writePackageFile/setup.php.inc \
|
|
writePackageFile/test_addchangelog.phpt \
|
|
writePackageFile/test_updatechangelog.phpt \
|
|
phpt_test.php.inc \
|
|
setup.php.inc
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/tests/PEAR_PackageFileManager2/* ${WRKSRC}/tests
|
|
${RM} -R ${WRKSRC}/tests/PEAR_PackageFileManager2
|
|
|
|
##build-install:
|
|
## ${RM} -R ${PREFIX}/share/pear/tests/PEAR_PackageFileManager2
|
|
|
|
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
|
|
.include <bsd.port.post.mk>
|