summaryrefslogtreecommitdiff
path: root/devel/pear-HTML_Select_Common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pear-HTML_Select_Common/Makefile')
-rw-r--r--devel/pear-HTML_Select_Common/Makefile33
1 files changed, 5 insertions, 28 deletions
diff --git a/devel/pear-HTML_Select_Common/Makefile b/devel/pear-HTML_Select_Common/Makefile
index 9d2a588d355c..416b2989b3c8 100644
--- a/devel/pear-HTML_Select_Common/Makefile
+++ b/devel/pear-HTML_Select_Common/Makefile
@@ -7,35 +7,20 @@
PORTNAME= HTML_Select_Common
PORTVERSION= 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel www
-MASTER_SITES= http://pear.php.net/get/
-PKGNAMEPREFIX= pear-
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= Some small PEAR classes to handle common <select> lists
-BUILD_DEPENDS= ${PEARDIR}/HTML/Common.php:${PORTSDIR}/devel/pear-HTML_Common
-RUN_DEPENDS= ${PEARDIR}/HTML/Common.php:${PORTSDIR}/devel/pear-HTML_Common \
+BUILD_DEPENDS= ${PEARDIR}/HTML/Common.php:${PORTSDIR}/devel/pear-HTML_Common \
${PEARDIR}/I18N/Common.php:${PORTSDIR}/devel/pear-I18N
+RUN_DEPENDS= ${BUILD_DEPENDS}
-NO_BUILD= yes
-
-EXAMPLESDIR= ${PREFIX}/share/examples/pear/${PORTNAME}
+EXAMPLESDIR= ${PEARDIR}/HTML/Select/Common/examples
.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/bin/php-config)
-PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
-.else
-PHP_BASE= ${LOCALBASE}
-.endif
-PEAR= ${LOCALBASE}/bin/pear
-LPHP_LIB= lib/php
-PEARDIR= ${PHP_BASE}/${LPHP_LIB}
-PLIST_SUB= PEARDIR=${LPHP_LIB}
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
MANIFEST= Country.php FRDepartements.php UKCounty.php USState.php
EXAMPLES= Country.php FRDepartements.php UKCounty.php USState.php
@@ -47,10 +32,6 @@ do-install:
.endfor
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/HTML/Select/Common
@${CHMOD} a-x ${PEARDIR}/HTML/Select/Common/*
-#Note: Select.php is still needed for Kronolith 1.0
-# but should be removed with the next release.
- @${CP} -p ${FILESDIR}/Select.php ${PEARDIR}/HTML
- @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/HTML/Select.php
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
.for FILE in ${EXAMPLES}
@@ -59,8 +40,4 @@ do-install:
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif
-post-install:
-# Register a new package
- @${PEAR} install -r -f ${WRKDIR}/package.xml
-
.include <bsd.port.post.mk>