bde3cca681
Pear 1.10.3 2017-02-28 11:25 UTC Changelog: * Bug #21188: Class 'PEAR_Proxy' not found 1.10.2 2017-02-28 08:48 UTC Changelog: * Fix Bug #4426: PEAR_Autoloader __call() must take only 2 arguments [kna] * Fix Bug #20989: fatal error/bug in the postinstallscript task [kguest] * Fix Bug #20991: Strict Standards: startSession and run methods in PEAR_Task_Postinstallscript [kguest] * Fix Bug #21001: PEAR_ERROR_DIE exit code is 0 [danielc] * Pull Request #52: Channel's _lastmodified is an int and not a string [sathieu] * Pull Request #53: Add proper HTTPS proxy support through the CONNECT verb [youknow0] * Pull Request #58: Make method signatures compatible. [yunosh] XML_Util 1.4.2. 2017-02-22 14:32 UTC Changelog: * Bug #21184 Collapse issue 1.4.1 2017-02-07 13:12 UTC Changelog: * Bug #21177 XML_Util::collapseEmptyTags() can return NULL 1.4.0 2017-02-03 13:43 UTC Changelog: * Set minimum PHP version to 5.4.0 * Set minimum PEAR version to 1.10.1 * Adds a new XML_UTIL_COLLAPSE_NONE option for preventing empty tag collapsing. * Request #15467 CDATA sections and blank nodes
90 lines
2.3 KiB
Makefile
90 lines
2.3 KiB
Makefile
# $NetBSD: Makefile,v 1.38 2017/03/12 13:19:12 taca Exp $
|
|
#
|
|
|
|
DISTNAME= PEAR-1.10.3
|
|
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/PEAR/pear/}
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://download.pear.php.net/package/
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= pear20151210
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pear.php.net/
|
|
COMMENT= PEAR Base System for PHP
|
|
LICENSE= 2-clause-bsd
|
|
|
|
USE_LANGUAGES= # none
|
|
EXTRACT_ONLY= # none
|
|
USE_TOOLS+= gzcat
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
|
|
CONFLICTS+= php<5.2.1nb2
|
|
|
|
PKG_SYSCONFVAR= php
|
|
CONF_FILES= ${PREFIX}/share/examples/pear/pear.conf \
|
|
${PKG_SYSCONFDIR}/pear.conf
|
|
|
|
BUNDLE= ${WRKSRC}/install/go-pear-bundle
|
|
|
|
# everything else that forms a part of the "base" PEAR install
|
|
#
|
|
PEAR_SRCS= ${DISTNAME}${EXTRACT_SUFX}
|
|
DISTFILES+= ${PEAR_SRCS}
|
|
EXTRACT_ONLY+= ${PEAR_SRCS}
|
|
|
|
ARCHIVE_SRCS= Archive_Tar-1.4.2${EXTRACT_SUFX}
|
|
ARCHIVE_WRKSRC= ${WRKDIR}/${ARCHIVE_SRCS:S/${EXTRACT_SUFX}//}
|
|
DISTFILES+= ${ARCHIVE_SRCS}
|
|
EXTRACT_ONLY+= ${ARCHIVE_SRCS}
|
|
|
|
CONSOLE_SRCS= Console_Getopt-1.4.1${EXTRACT_SUFX}
|
|
CONSOLE_WRKSRC= ${WRKDIR}/${CONSOLE_SRCS:S/${EXTRACT_SUFX}//}
|
|
DISTFILES+= ${CONSOLE_SRCS}
|
|
EXTRACT_ONLY+= ${CONSOLE_SRCS}
|
|
|
|
STRUCTURES_SRCS= Structures_Graph-1.1.1${EXTRACT_SUFX}
|
|
DISTFILES+= ${STRUCTURES_SRCS}
|
|
|
|
XMLUTIL_SRCS= XML_Util-1.4.2${EXTRACT_SUFX}
|
|
DISTFILES+= ${XMLUTIL_SRCS}
|
|
|
|
#
|
|
# end of base components
|
|
|
|
SUBST_CLASSES+= config
|
|
SUBST_STAGE.config= post-patch
|
|
SUBST_FILES.config= install/go-pear.php
|
|
SUBST_SED.config= -e "s|@WRKSRC@|${WRKSRC}|g"
|
|
SUBST_SED.config+= -e "s|@PREFIX@|${PREFIX}|g"
|
|
SUBST_MESSAGE.config= Fixing configuration files.
|
|
|
|
REPLACE_SH+= script/pear.sh
|
|
|
|
INSTALLATION_DIRS+= share/examples/pear
|
|
|
|
post-extract:
|
|
${RM} ${WRKSRC}/INSTALL
|
|
${MKDIR} ${WRKSRC}/install
|
|
${MKDIR} ${BUNDLE}
|
|
${CP} ${FILESDIR}/go-pear.php ${WRKSRC}/install
|
|
${CP} ${FILESDIR}/PEAR.php ${BUNDLE}
|
|
|
|
do-build:
|
|
.for f in ${DISTFILES}
|
|
${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${f} > \
|
|
${BUNDLE}/${f:S/${EXTRACT_SUFX}/.tar/}
|
|
.endfor
|
|
${CP} ${ARCHIVE_WRKSRC}/Archive/Tar.php ${BUNDLE}
|
|
${CP} ${CONSOLE_WRKSRC}/Console/Getopt.php ${BUNDLE}
|
|
|
|
do-install:
|
|
${SETENV} ${INSTALL_ENV} ${PREFIX}/bin/php ${WRKSRC}/install/go-pear.php local
|
|
${INSTALL_DATA} ${WRKSRC}/pear.conf \
|
|
${DESTDIR}${PREFIX}/share/examples/pear/pear.conf
|
|
|
|
.include "${PHPPKGSRCDIR}/buildlink3.mk"
|
|
|
|
BUILDLINK_API_DEPENDS.php+= php>=5.2.1nb2
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|