diff options
author | edwin <edwin@FreeBSD.org> | 2003-12-28 15:55:47 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-12-28 15:55:47 +0800 |
commit | d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c (patch) | |
tree | 84003698ad2fd8363cbe0ecd528aef690cbacd97 /archivers | |
parent | e77dff7e6230eea7acc0d504c3c918517180e95a (diff) | |
download | freebsd-ports-gnome-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.tar.gz freebsd-ports-gnome-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.tar.zst freebsd-ports-gnome-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.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>
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/pear-Archive_Tar/Makefile | 18 | ||||
-rw-r--r-- | archivers/pear-Archive_Tar/pkg-plist | 9 |
2 files changed, 6 insertions, 21 deletions
diff --git a/archivers/pear-Archive_Tar/Makefile b/archivers/pear-Archive_Tar/Makefile index a909e533a051..45f1c88b1e48 100644 --- a/archivers/pear-Archive_Tar/Makefile +++ b/archivers/pear-Archive_Tar/Makefile @@ -7,6 +7,7 @@ PORTNAME= Archive_Tar PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= archivers www pear MAINTAINER= ports@FreeBSD.org @@ -15,17 +16,10 @@ COMMENT= PEAR tar file management class BUILD_DEPENDS= pear:${PORTSDIR}/lang/php4 RUN_DEPENDS= ${BUILD_DEPENDS} -.include <bsd.port.pre.mk> -.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" - -do-install: - @${MKDIR} ${PEARDIR}/Archive - @${CP} -Rp ${WRKSRC}/Archive ${PEARDIR} - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Archive -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/docs/Archive_Tar.txt ${DOCSDIR} - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." -.endif +FILES= Archive/Tar.php +DOCS= Archive_Tar.txt +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/lang/php4/bsd.php.mk" +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" .include <bsd.port.post.mk> diff --git a/archivers/pear-Archive_Tar/pkg-plist b/archivers/pear-Archive_Tar/pkg-plist deleted file mode 100644 index d9d9709b467d..000000000000 --- a/archivers/pear-Archive_Tar/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -%%PEARDIR%%/Archive/Tar.php -%%PKGREGDIR%%/package.xml -%%PORTDOCS%%%%PEARDIR%%/docs/Archive_Tar/Archive_Tar.txt -@dirrm %%PEARDIR%%/Archive -@dirrm %%PKGREGDIR%% -%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/Archive_Tar -@unexec rmdir %D/share/pear/docs 2> /dev/null || true -@unexec rmdir %D/share/pear/.registry 2> /dev/null || true -@unexec rmdir %D/share/pear/packages 2> /dev/null || true |