From 46ee0ab9d749bcd2f2ac7b34cfcac1ba1864e438 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 3 May 1999 21:47:27 +0000 Subject: PHP3 module for image manipulation based on the GD graphics library. This module includes support for the Image*() functions. --- www/php3-gd/Makefile | 23 +++++++++++++++++++++++ www/php3-gd/pkg/COMMENT | 1 + www/php3-gd/pkg/DESCR | 2 ++ www/php3-gd/pkg/PLIST | 2 ++ 4 files changed, 28 insertions(+) create mode 100644 www/php3-gd/Makefile create mode 100644 www/php3-gd/pkg/COMMENT create mode 100644 www/php3-gd/pkg/DESCR create mode 100644 www/php3-gd/pkg/PLIST (limited to 'www') diff --git a/www/php3-gd/Makefile b/www/php3-gd/Makefile new file mode 100644 index 00000000000..73749a78297 --- /dev/null +++ b/www/php3-gd/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/05/03 21:47:27 tv Exp $ +# + +PKGNAME= php-gd-${PHP_VERSION} + +DEPENDS+= gd-1.3p1:../../graphics/gd + +USE_PERL5= yes + +BUILDING_EXTENSION_MODULE=yes + +do-build: + cd ${WRKSRC}/functions && \ + ${COMPILE.c} -I.. -I. -I${LOCALBASE}/include/gd -fPIC -DPIC -DCOMPILE_DL gd.c && \ + ld -Bshareable -o gd.so gd.o -L${LOCALBASE}/lib -R${LOCALBASE}/lib -lgd + +do-install: + ${INSTALL_DATA} ${WRKSRC}/functions/gd.so ${PREFIX}/lib/php3/ + +.include "../php3/Makefile" + +# this must be done last, as it is explicitly disabled in php3's CONFIGURE_ARGS +CONFIGURE_ARGS+=--with-gd diff --git a/www/php3-gd/pkg/COMMENT b/www/php3-gd/pkg/COMMENT new file mode 100644 index 00000000000..6a4c59f6fa2 --- /dev/null +++ b/www/php3-gd/pkg/COMMENT @@ -0,0 +1 @@ +PHP3 extension for GD graphics library diff --git a/www/php3-gd/pkg/DESCR b/www/php3-gd/pkg/DESCR new file mode 100644 index 00000000000..4f588ce03a0 --- /dev/null +++ b/www/php3-gd/pkg/DESCR @@ -0,0 +1,2 @@ +PHP is a programming language designed to be embedded into web pages. +This module provides GD graphics support for PHP3. diff --git a/www/php3-gd/pkg/PLIST b/www/php3-gd/pkg/PLIST new file mode 100644 index 00000000000..db0c3c4e91d --- /dev/null +++ b/www/php3-gd/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/03 21:47:28 tv Exp $ +lib/php3/gd.so -- cgit v1.2.3