summaryrefslogtreecommitdiff
path: root/sysutils/pear-File
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 /sysutils/pear-File
parentUpdate to 2.11 and assign maintainership to PR submitter. Many, many, (diff)
[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 'sysutils/pear-File')
-rw-r--r--sysutils/pear-File/Makefile13
-rw-r--r--sysutils/pear-File/pkg-plist8
2 files changed, 5 insertions, 16 deletions
diff --git a/sysutils/pear-File/Makefile b/sysutils/pear-File/Makefile
index 5dfbf6370f82..71bc0e578f29 100644
--- a/sysutils/pear-File/Makefile
+++ b/sysutils/pear-File/Makefile
@@ -7,7 +7,7 @@
PORTNAME= File
PORTVERSION= 1.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils www pear
MAINTAINER= ports@FreeBSD.org
@@ -16,12 +16,9 @@ COMMENT= PEAR common file and directory routines
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
-.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
-
-do-install:
- @${CP} -Rp ${WRKSRC}/* ${PEARDIR}
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${PORTNAME}*
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/tests
+FILES= File.php File/CSV.php
+TESTS= parser.php test.csv
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>
diff --git a/sysutils/pear-File/pkg-plist b/sysutils/pear-File/pkg-plist
deleted file mode 100644
index 9d55bdae8898..000000000000
--- a/sysutils/pear-File/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-%%PEARDIR%%/File/CSV.php
-%%PEARDIR%%/File.php
-%%PKGREGDIR%%/package.xml
-%%PEARDIR%%/tests/parser.php
-%%PEARDIR%%/tests/test.csv
-@dirrm %%PKGREGDIR%%
-@unexec rmdir %D/share/pear/tests 2> /dev/null || true
-@unexec rmdir %D/share/pear/File 2> /dev/null || true