Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 13:52:08 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369059 - in head/archivers: pear-File_Archive pear-PHP_Archiv
Message-ID:  <201409231352.s8NDq8QA099055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep 23 13:52:08 2014
New Revision: 369059
URL: http://svnweb.freebsd.org/changeset/ports/369059
QAT: https://qat.redports.org/buildarchive/r369059/

Log:
  Convert to USES=pear

Modified:
  head/archivers/pear-File_Archive/Makefile
  head/archivers/pear-PHP_Archiv/Makefile

Modified: head/archivers/pear-File_Archive/Makefile
==============================================================================
--- head/archivers/pear-File_Archive/Makefile	Tue Sep 23 13:48:57 2014	(r369058)
+++ head/archivers/pear-File_Archive/Makefile	Tue Sep 23 13:52:08 2014	(r369059)
@@ -8,13 +8,12 @@ CATEGORIES=	archivers www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR class to manipulate tar, gz, tgz, bz2, tbz, zip, ar (deb) files
 
-BUILD_DEPENDS=	${PEARDIR}/MIME/Type.php:${PORTSDIR}/mail/pear-MIME_Type \
-		${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS=	${PEARDIR}/MIME/Type.php:${PORTSDIR}/mail/pear-MIME_Type \
-		${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+BUILD_DEPENDS=	${PEARDIR}/MIME/Type.php:${PORTSDIR}/mail/pear-MIME_Type
+RUN_DEPENDS=	${PEARDIR}/MIME/Type.php:${PORTSDIR}/mail/pear-MIME_Type
+
+USES=	pear
 
 USE_PHP=	bz2 pcre zlib
-LATEST_LINK=	pear-${PORTNAME}
 
 OPTIONS_DEFINE=	PEAR_MAIL PEAR_MAIL_MIME PEAR_CACHE_LITE
 
@@ -22,21 +21,8 @@ PEAR_MAIL_DESC=		PEAR::Mail support
 PEAR_MAIL_MIME_DESC=	PEAR::Mail_Mime support
 PEAR_CACHE_LITE_DESC=	PEAR::Cache_Lite support
 
-PEAR_AUTOINSTALL=	YES
-
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MPEAR_MAIL}
-RUN_DEPENDS+=	${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MAIL_MIME}
-RUN_DEPENDS+=	${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_CACHE_LITE}
-RUN_DEPENDS+=	${PEARDIR}/Cache/Lite.php:${PORTSDIR}/sysutils/pear-Cache_Lite
-.endif
+PEAR_MAIL_RUN_DEPENDS=	${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail
+PEAR_MAIL_MIME_RUN_DEPENDS=	${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime
+PEAR_CACHE_LITE_RUN_DEPENDS+=	${PEARDIR}/Cache/Lite.php:${PORTSDIR}/sysutils/pear-Cache_Lite
 
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/archivers/pear-PHP_Archiv/Makefile
==============================================================================
--- head/archivers/pear-PHP_Archiv/Makefile	Tue Sep 23 13:48:57 2014	(r369058)
+++ head/archivers/pear-PHP_Archiv/Makefile	Tue Sep 23 13:52:08 2014	(r369059)
@@ -8,11 +8,6 @@ CATEGORIES=	archivers
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	Create and Use PHP Archive files
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+USES=	pear
 
-PEAR_AUTOINSTALL=	yes
-
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409231352.s8NDq8QA099055>