diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2004-12-18 15:53:29 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2004-12-18 15:53:29 +0000 |
commit | 9c45c62df948510309524ff1cc41efa14b0cb2f7 (patch) | |
tree | 2d74df31bb2bd54838ff7d5322715b9c71868176 /www | |
parent | b113f54a560bd1853024c28e3b94b3251dd03b21 (diff) | |
download | pkgsrc-9c45c62df948510309524ff1cc41efa14b0cb2f7.tar.gz |
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 (limited to 'www')
-rw-r--r-- | www/php4-apc/Makefile | 21 | ||||
-rw-r--r-- | www/php4-apc/PLIST.extras | 4 | ||||
-rw-r--r-- | www/php4-apc/distinfo | 6 |
3 files changed, 9 insertions, 22 deletions
diff --git a/www/php4-apc/Makefile b/www/php4-apc/Makefile index 1c9eb027d0c..1797927db7e 100644 --- a/www/php4-apc/Makefile +++ b/www/php4-apc/Makefile @@ -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 - -MAINTAINER= tech-pkg@NetBSD.org -HOMEPAGE= http://pecl.php.net/apc COMMENT= Alternative PHP Cache for PHP4 -EXTRACT_ELEMENTS= # empty +MAINTAINER= tech-pkg@NetBSD.org -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 @@ DOCDIR= ${PREFIX}/share/doc/${PKGBASE} 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 --git a/www/php4-apc/PLIST.extras b/www/php4-apc/PLIST.extras index 6d961049674..723c87c5307 100644 --- a/www/php4-apc/PLIST.extras +++ b/www/php4-apc/PLIST.extras @@ -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 --git a/www/php4-apc/distinfo b/www/php4-apc/distinfo index a656ae4acf6..ba39d407327 100644 --- a/www/php4-apc/distinfo +++ b/www/php4-apc/distinfo @@ -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 |