pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/php4-apc convert to use standard PECL extension bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0181b9060efd
branches:  trunk
changeset: 485659:0181b9060efd
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Dec 18 15:53:29 2004 +0000

description:
convert to use standard PECL extension build framework for consistency

don't install LICENCE (this package is distributed under standard PHP
licence) nor NOTICE file

PKGREVISION not bumped, since package version as such changed

diffstat:

 www/php4-apc/Makefile     |  21 +++++----------------
 www/php4-apc/PLIST.extras |   4 +---
 www/php4-apc/distinfo     |   6 +++---
 3 files changed, 9 insertions(+), 22 deletions(-)

diffs (67 lines):

diff -r 560aae4d606a -r 0181b9060efd www/php4-apc/Makefile
--- a/www/php4-apc/Makefile     Sat Dec 18 15:50:42 2004 +0000
+++ b/www/php4-apc/Makefile     Sat Dec 18 15:53:29 2004 +0000
@@ -1,23 +1,16 @@
-# $NetBSD: Makefile,v 1.17 2004/12/18 15:08:39 jdolecek Exp $
+# $NetBSD: Makefile,v 1.18 2004/12/18 15:53:29 jdolecek Exp $
 
-DISTNAME=      APC-${VERSION}
-PKGNAME=       php-apc-${VERSION}
 MODNAME=       apc
+PECL_VERSION=  2.0.4
 CATEGORIES+=   sysutils
-MASTER_SITES=  http://pecl.php.net/get/
-EXTRACT_SUFX=  .tgz
+COMMENT=       Alternative PHP Cache for PHP4
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
-HOMEPAGE=      http://pecl.php.net/apc
-COMMENT=       Alternative PHP Cache for PHP4
 
-EXTRACT_ELEMENTS=      # empty
-
-VERSION=               2.0.4
-WRKSRC=                        ${WRKDIR}/${DISTNAME}
 USE_BUILDLINK3=                YES
 
 CONFIGURE_ARGS+=       --enable-${MODNAME}
+WRKSRC=                ${WRKDIR}/APC-${PECL_VERSION}
 
 PLIST_SRC+=            ${.CURDIR}/PLIST.extras
 PLIST_SUBST+=          PKGBASE="${PKGBASE}"
@@ -25,13 +18,9 @@
 
 post-install:
        ${INSTALL_DATA_DIR} ${DOCDIR}
-       cd ${WRKSRC}; ${INSTALL_DATA} \
-               INSTALL LICENSE NOTICE ${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR}
 
 PHP_VERSION_REQD=      4               # PHP 4.x only
 
 .include "../../lang/php/ext.mk"
-# override with local distinfo file
-DISTINFO_FILE= ${.CURDIR}/distinfo
-
 .include "../../mk/bsd.pkg.mk"
diff -r 560aae4d606a -r 0181b9060efd www/php4-apc/PLIST.extras
--- a/www/php4-apc/PLIST.extras Sat Dec 18 15:50:42 2004 +0000
+++ b/www/php4-apc/PLIST.extras Sat Dec 18 15:53:29 2004 +0000
@@ -1,5 +1,3 @@
-@comment $NetBSD: PLIST.extras,v 1.2 2004/11/02 20:08:15 jdolecek Exp $
+@comment $NetBSD: PLIST.extras,v 1.3 2004/12/18 15:53:29 jdolecek Exp $
 share/doc/${PKGBASE}/INSTALL
-share/doc/${PKGBASE}/LICENSE
-share/doc/${PKGBASE}/NOTICE
 @dirrm share/doc/${PKGBASE}
diff -r 560aae4d606a -r 0181b9060efd www/php4-apc/distinfo
--- a/www/php4-apc/distinfo     Sat Dec 18 15:50:42 2004 +0000
+++ b/www/php4-apc/distinfo     Sat Dec 18 15:53:29 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2004/11/02 20:08:15 jdolecek Exp $
+$NetBSD: distinfo,v 1.5 2004/12/18 15:53:29 jdolecek Exp $
 
-SHA1 (APC-2.0.4.tgz) = 228026609ef026988d8830fc6d766b3910c4eac4
-Size (APC-2.0.4.tgz) = 44606 bytes
+SHA1 (php-apc/apc-2.0.4.tgz) = 228026609ef026988d8830fc6d766b3910c4eac4
+Size (php-apc/apc-2.0.4.tgz) = 44606 bytes



Home | Main Index | Thread Index | Old Index