From 93b7ed7f504a49dd67ffe3ac687750a2cf3de9af Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 28 Dec 2003 07:55:47 +0000 Subject: [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 --- devel/pear-HTML_Select_Common/Makefile | 28 +++++++--------------------- devel/pear-HTML_Select_Common/pkg-plist | 13 ------------- 2 files changed, 7 insertions(+), 34 deletions(-) delete mode 100644 devel/pear-HTML_Select_Common/pkg-plist (limited to 'devel/pear-HTML_Select_Common') diff --git a/devel/pear-HTML_Select_Common/Makefile b/devel/pear-HTML_Select_Common/Makefile index 413c49164607..246c0e786eaf 100644 --- a/devel/pear-HTML_Select_Common/Makefile +++ b/devel/pear-HTML_Select_Common/Makefile @@ -7,7 +7,7 @@ PORTNAME= HTML_Select_Common PORTVERSION= 1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel www pear MAINTAINER= ports@FreeBSD.org @@ -17,27 +17,13 @@ BUILD_DEPENDS= ${PEARDIR}/HTML/Common.php:${PORTSDIR}/devel/pear-HTML_Common \ ${PEARDIR}/I18N/Common.php:${PORTSDIR}/devel/pear-I18N RUN_DEPENDS= ${BUILD_DEPENDS} -EXAMPLESDIR= ${PEARDIR}/HTML/Select/Common/examples +CATEGORY= HTML -.include -.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" - -MANIFEST= Country.php FRDepartements.php UKCounty.php USState.php +FILES= Select/Common/Country.php Select/Common/FRDepartements.php \ + Select/Common/UKCounty.php Select/Common/USState.php EXAMPLES= Country.php FRDepartements.php UKCounty.php USState.php +_EXAMPLESDIR= Select/Common/examples -do-install: - @${MKDIR} ${PEARDIR}/HTML/Select/Common -.for FILE in ${MANIFEST} - @${CP} -p ${WRKSRC}/Select/Common/${FILE} ${PEARDIR}/HTML/Select/Common -.endfor - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/HTML/Select/Common - @${CHMOD} a-x ${PEARDIR}/HTML/Select/Common/* -.if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} -.for FILE in ${EXAMPLES} - @${INSTALL_DATA} ${WRKSRC}/Select/Common/examples/${FILE} ${EXAMPLESDIR} -.endfor - @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." -.endif - +.include +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" .include diff --git a/devel/pear-HTML_Select_Common/pkg-plist b/devel/pear-HTML_Select_Common/pkg-plist deleted file mode 100644 index af2e48853208..000000000000 --- a/devel/pear-HTML_Select_Common/pkg-plist +++ /dev/null @@ -1,13 +0,0 @@ -%%PEARDIR%%/HTML/Select/Common/Country.php -%%PEARDIR%%/HTML/Select/Common/FRDepartements.php -%%PEARDIR%%/HTML/Select/Common/UKCounty.php -%%PEARDIR%%/HTML/Select/Common/USState.php -%%PKGREGDIR%%/package.xml -%%PORTDOCS%%%%EXAMPLESDIR%%/Country.php -%%PORTDOCS%%%%EXAMPLESDIR%%/FRDepartements.php -%%PORTDOCS%%%%EXAMPLESDIR%%/UKCounty.php -%%PORTDOCS%%%%EXAMPLESDIR%%/USState.php -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% -@dirrm %%PEARDIR%%/HTML/Select/Common -@dirrm %%PEARDIR%%/HTML/Select -@dirrm %%PKGREGDIR%% -- cgit v1.2.3