summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-10 13:18:06 +0000
committerjlam <jlam@pkgsrc.org>2002-01-10 13:18:06 +0000
commit4f7494fa618937f76972eda9aa2da1c47722b6b8 (patch)
treefbc5d035329c24400e950f9ff286ae9d8623654b /www
parentb79863177f855802eb14dfa5eac07d1c6fa17321 (diff)
downloadpkgsrc-4f7494fa618937f76972eda9aa2da1c47722b6b8.tar.gz
Use new PHP3 Makefile framework and buildlinkify.
Diffstat (limited to 'www')
-rw-r--r--www/ap-php3/Makefile24
-rw-r--r--www/ap-php3/distinfo12
2 files changed, 12 insertions, 24 deletions
diff --git a/www/ap-php3/Makefile b/www/ap-php3/Makefile
index 3689cc97194..6d47c1c0d7d 100644
--- a/www/ap-php3/Makefile
+++ b/www/ap-php3/Makefile
@@ -1,21 +1,21 @@
-# $NetBSD: Makefile,v 1.8 2001/05/20 05:23:28 jonb Exp $
+# $NetBSD: Makefile,v 1.9 2002/01/10 13:18:06 jlam Exp $
#
-PKGNAME= ap-${DISTNAME}
+PKGNAME= ap-php-${BASE_VERS}
+PKGREVISION= # empty
+COMMENT= Apache module for PHP3
-COMMENT= PHP3 server module for Apache
+USE_BUILDLINK_ONLY= yes
-DEPENDS+= apache{,6}-1.3.*:../../www/apache
+.include "../../www/php3/Makefile.common"
-USE_PERL5= # defined
+DEPENDS+= php>=${BASE_VERS}:../../www/php3
+DEPENDS+= apache{,6}>=1.3:../../www/apache
-CONFIGURE_ARGS+= --with-apxs=${LOCALBASE}/sbin/apxs
-CONFIGURE_ENV+= PERL_PATH=${PERL5}
-
-BUILDING_SERVER_MODULE= yes
+CPPFLAGS+= -DPHP_INTERNAL_FUNCS
do-install:
- @cd ${WRKSRC} && ${CP} libphp3.so mod_php3.so
- @${PREFIX}/sbin/apxs -i ${WRKSRC}/mod_php3.so
+ ${INSTALL_DATA} ${WRKSRC}/libphp3.so ${PREFIX}/lib/httpd/mod_php3.so
-.include "../php3/Makefile"
+.include "../../www/apache/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap-php3/distinfo b/www/ap-php3/distinfo
deleted file mode 100644
index 2697949040f..00000000000
--- a/www/ap-php3/distinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 12:02:32 skrll Exp $
-
-SHA1 (php-3.0.18.tar.gz) = 49550006e1dbf8f792bc0b9499b3f0bd7b14427c
-Size (php-3.0.18.tar.gz) = 2219410 bytes
-SHA1 (patch-aa) = d094c6ed8c59765c30559be4f7ca2150e381fbfc
-SHA1 (patch-ab) = c70c7ccc6c41f604bd97df5d44140838a15f33ef
-SHA1 (patch-ac) = 7f021f57c7c45b0ca7c41aa2c82a386372d6dbe3
-SHA1 (patch-ad) = 4185b18196e5bf9cf5922d475542645d1e499d98
-SHA1 (patch-af) = b7a88669ab4dac0537afe0d6f8c18946da0cefbd
-SHA1 (patch-ag) = 8a3c71c9ba82fd0dbb08f6e7727b626810eca7f4
-SHA1 (patch-ah) = 8cb72b72453e1a382d871d2557572060de4416af
-SHA1 (patch-ai) = 83d273313eb0cc49538f4b27d0805145b4badae7