summaryrefslogtreecommitdiff
path: root/devel/pear-HTML_Common
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-06-07 23:00:46 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-06-07 23:00:46 +0000
commit077b4b53b0d0814df73a850dfa8625101c7b8404 (patch)
tree1635d75a5b1ebd11d644c2d01607580c9063de35 /devel/pear-HTML_Common
parentDisplay the new pkg-message after port build. (diff)
Update to pear-Archive_Tar 1.1.
Update to pear-PEAR 1.1. Update to pear-HTML_Common 1.2. Update to pear-Net_SMTP 1.2.3. Update to pear-Log 1.6.5. Update to pear-I18N 0.8.5. Update to pear 4.3.2. Adapt following ports for pear-PEAR's Makefile.common. pear-Console_Getopt, pear-Auth, pear-Auth_SASL, devel/pear-Date, net/pear-Net_Socket, pear-Mail_Mime, pear-Crypt_CBC, pear-mailparse, pear-File, pear-HTML_Select_Common, and pear-Net_Sieve PR: ports/52596, ports/52641, ports/52655, ports/52656, ports/52671, ports/52678, ports/52845 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'devel/pear-HTML_Common')
-rw-r--r--devel/pear-HTML_Common/Makefile26
-rw-r--r--devel/pear-HTML_Common/distinfo2
-rw-r--r--devel/pear-HTML_Common/pkg-deinstall13
-rw-r--r--devel/pear-HTML_Common/pkg-descr2
-rw-r--r--devel/pear-HTML_Common/pkg-plist2
5 files changed, 7 insertions, 38 deletions
diff --git a/devel/pear-HTML_Common/Makefile b/devel/pear-HTML_Common/Makefile
index e24a4e0c7b9b..2212f83429a4 100644
--- a/devel/pear-HTML_Common/Makefile
+++ b/devel/pear-HTML_Common/Makefile
@@ -6,41 +6,21 @@
#
PORTNAME= HTML_Common
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.2
CATEGORIES= devel www
-MASTER_SITES= http://pear.php.net/get/
-PKGNAMEPREFIX= pear-
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR::HTML_Common is a base class for other HTML classes
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
-NO_BUILD= yes
-
.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"
do-install:
@${MKDIR} ${PEARDIR}/HTML
@${CP} -Rp ${WRKSRC}/Common.php ${PEARDIR}/HTML
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/HTML
-post-install:
-# Register a new package
- @${PEAR} install -r -f ${WRKDIR}/package.xml
-
.include <bsd.port.post.mk>
diff --git a/devel/pear-HTML_Common/distinfo b/devel/pear-HTML_Common/distinfo
index 1187d9e4f9cf..7515760252ba 100644
--- a/devel/pear-HTML_Common/distinfo
+++ b/devel/pear-HTML_Common/distinfo
@@ -1 +1 @@
-MD5 (PEAR/HTML_Common-1.0.tgz) = 7190426df5f75e53b5ac5a6de8ec56b5
+MD5 (PEAR/HTML_Common-1.2.tgz) = f4244caffa5534d54babdfeedb371be3
diff --git a/devel/pear-HTML_Common/pkg-deinstall b/devel/pear-HTML_Common/pkg-deinstall
deleted file mode 100644
index c17e9d19ced0..000000000000
--- a/devel/pear-HTML_Common/pkg-deinstall
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Remove package declaration from PEAR's registry.
-
-if [ x$2 != xDEINSTALL ]; then
- exit
-fi
-PKG_NAME=${1%%-[0-9._]*}
-PACKAGE=$(echo $PKG_NAME | sed 's/pear-//')
-
-${PKG_PREFIX}/bin/pear uninstall -r ${PACKAGE} || true
diff --git a/devel/pear-HTML_Common/pkg-descr b/devel/pear-HTML_Common/pkg-descr
index a2959a73b976..af279c653a11 100644
--- a/devel/pear-HTML_Common/pkg-descr
+++ b/devel/pear-HTML_Common/pkg-descr
@@ -5,4 +5,4 @@ attributes handling.
* Handles comments in HTML code.
* Handles layout and tabs for nicer HTML code.
-WWW: http://pear.php.net/package-info.php?pacid=69
+WWW: http://pear.php.net/package-info.php?package=HTML_Common
diff --git a/devel/pear-HTML_Common/pkg-plist b/devel/pear-HTML_Common/pkg-plist
index 20031ff27b56..0edd84806154 100644
--- a/devel/pear-HTML_Common/pkg-plist
+++ b/devel/pear-HTML_Common/pkg-plist
@@ -1,2 +1,4 @@
%%PEARDIR%%/HTML/Common.php
+%%PKGREGDIR%%/package.xml
@dirrm %%PEARDIR%%/HTML
+@dirrm %%PKGREGDIR%%