diff options
author | tv <tv@pkgsrc.org> | 1999-05-03 21:47:27 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1999-05-03 21:47:27 +0000 |
commit | 46ee0ab9d749bcd2f2ac7b34cfcac1ba1864e438 (patch) | |
tree | f3222d90a089ad6c029ad15c31ff0c93f63ede24 /www | |
parent | 19cbca7e43f274ff85bc3750b6f8427ed412666b (diff) | |
download | pkgsrc-46ee0ab9d749bcd2f2ac7b34cfcac1ba1864e438.tar.gz |
PHP3 module for image manipulation based on the GD graphics library.
This module includes support for the Image*() functions.
Diffstat (limited to 'www')
-rw-r--r-- | www/php3-gd/Makefile | 23 | ||||
-rw-r--r-- | www/php3-gd/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/php3-gd/pkg/DESCR | 2 | ||||
-rw-r--r-- | www/php3-gd/pkg/PLIST | 2 |
4 files changed, 28 insertions, 0 deletions
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 |