aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-PEAR
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-12-28 07:55:47 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-12-28 07:55:47 +0000
commit93b7ed7f504a49dd67ffe3ac687750a2cf3de9af (patch)
tree8da4bd11526f4a4c8953d4db2c3e091588172722 /devel/pear-PEAR
parent8f2582a5696b97b61eaf3829d827c8b0ba5bc289 (diff)
downloadports-93b7ed7f504a49dd67ffe3ac687750a2cf3de9af.tar.gz
ports-93b7ed7f504a49dd67ffe3ac687750a2cf3de9af.zip
[PATCH] simplify pear-* ports
These patches do the following things for PEAR ports: * devel-pear-PEAR-Makefile.common.patch - provides a do-install target and all that jazz in devel/pear-PEAR/Makefile.common - individual PEAR ports now just set a few variables: * pear-ports-Makefile.common-ng.patch contains changes for all pear-* ports including devel/pear-PEAR See http://smradoch.innuendo.cz/FreeBSD/ for complete description. Note: still missing are: devel/pear-HTML_Common devel/pear-I18N net/pear-Net_NNTP security/pear-Auth PR: ports/59213 Submitted by: Roman Neuhauser <neuhauser@bellavista.cz>
Notes
Notes: svn path=/head/; revision=96732
Diffstat (limited to 'devel/pear-PEAR')
-rw-r--r--devel/pear-PEAR/Makefile20
-rw-r--r--devel/pear-PEAR/pkg-plist35
2 files changed, 11 insertions, 44 deletions
diff --git a/devel/pear-PEAR/Makefile b/devel/pear-PEAR/Makefile
index 163090cea51b..05d12b8000b6 100644
--- a/devel/pear-PEAR/Makefile
+++ b/devel/pear-PEAR/Makefile
@@ -7,6 +7,7 @@
PORTNAME= PEAR
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= devel www pear
MAINTAINER= ports@FreeBSD.org
@@ -16,15 +17,16 @@ BUILD_DEPENDS= ${PEARDIR}/Archive/Tar.php:${PORTSDIR}/archivers/pear-Archive_Tar
${PEARDIR}/Console/Getopt.php:${PORTSDIR}/devel/pear-Console_Getopt
RUN_DEPENDS= ${BUILD_DEPENDS}
+FILES= PEAR.php System.php PEAR/Autoloader.php \
+ PEAR/Command.php PEAR/Command/Auth.php PEAR/Command/Build.php \
+ PEAR/Command/Common.php PEAR/Command/Config.php \
+ PEAR/Command/Install.php PEAR/Command/Package.php \
+ PEAR/Command/Registry.php PEAR/Command/Remote.php \
+ PEAR/Command/Mirror.php PEAR/Common.php PEAR/Config.php \
+ PEAR/Dependency.php PEAR/Frontend/CLI.php PEAR/Builder.php \
+ PEAR/Installer.php PEAR/Packager.php PEAR/Registry.php \
+ PEAR/Remote.php OS/Guess.php package.dtd template.spec
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
-
-MANIFEST= OS PEAR PEAR.php System.php package.dtd scripts template.spec
-
-do-install:
- @${CP} -Rp ${WRKSRC}/* ${PEARDIR}
-.for FILE in ${MANIFEST}
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${FILE}
-.endfor
-
.include <bsd.port.post.mk>
diff --git a/devel/pear-PEAR/pkg-plist b/devel/pear-PEAR/pkg-plist
deleted file mode 100644
index d88c4028f3ed..000000000000
--- a/devel/pear-PEAR/pkg-plist
+++ /dev/null
@@ -1,35 +0,0 @@
-%%PEARDIR%%/package.dtd
-%%PEARDIR%%/template.spec
-%%PEARDIR%%/PEAR.php
-%%PEARDIR%%/System.php
-%%PEARDIR%%/OS/Guess.php
-%%PEARDIR%%/PEAR/Autoloader.php
-%%PEARDIR%%/PEAR/Builder.php
-%%PEARDIR%%/PEAR/Command.php
-%%PEARDIR%%/PEAR/Command/Auth.php
-%%PEARDIR%%/PEAR/Command/Build.php
-%%PEARDIR%%/PEAR/Command/Common.php
-%%PEARDIR%%/PEAR/Command/Config.php
-%%PEARDIR%%/PEAR/Command/Install.php
-%%PEARDIR%%/PEAR/Command/Mirror.php
-%%PEARDIR%%/PEAR/Command/Package.php
-%%PEARDIR%%/PEAR/Command/Registry.php
-%%PEARDIR%%/PEAR/Command/Remote.php
-%%PEARDIR%%/PEAR/Common.php
-%%PEARDIR%%/PEAR/Config.php
-%%PEARDIR%%/PEAR/Dependency.php
-%%PEARDIR%%/PEAR/Frontend/CLI.php
-%%PEARDIR%%/PEAR/Installer.php
-%%PEARDIR%%/PEAR/Packager.php
-%%PEARDIR%%/PEAR/Registry.php
-%%PEARDIR%%/PEAR/Remote.php
-%%PEARDIR%%/scripts/pear.bat
-%%PEARDIR%%/scripts/pear.sh
-%%PEARDIR%%/scripts/pearcmd.php
-%%PKGREGDIR%%/package.xml
-@dirrm %%PEARDIR%%/OS
-@dirrm %%PEARDIR%%/PEAR/Command
-@dirrm %%PEARDIR%%/PEAR/Frontend
-@dirrm %%PEARDIR%%/PEAR
-@dirrm %%PEARDIR%%/scripts
-@dirrm %%PKGREGDIR%%