aboutsummaryrefslogtreecommitdiff
path: root/www/libapreq2
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-06-11 09:55:35 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-06-11 09:55:35 +0000
commite9f2fe72ad04f329e5b43dfc0a906112da2d9f29 (patch)
tree220e0964eb6ed240a7edb7f8d81d49d5e8eede29 /www/libapreq2
parentcb0ce00146ff99ff6d77d41ad5f061c1ac093296 (diff)
downloadports-e9f2fe72ad04f329e5b43dfc0a906112da2d9f29.tar.gz
ports-e9f2fe72ad04f329e5b43dfc0a906112da2d9f29.zip
Add p5-libapreq2 2.02r02, generic Apache2 Request Library.
PR: ports/67591 Submitted by: Autrijus Tang autrijus_at_autrijus.org
Notes
Notes: svn path=/head/; revision=111264
Diffstat (limited to 'www/libapreq2')
-rw-r--r--www/libapreq2/Makefile35
-rw-r--r--www/libapreq2/distinfo2
-rw-r--r--www/libapreq2/files/patch-Makefile.in43
-rw-r--r--www/libapreq2/files/patch-glue::Makefile.in23
-rw-r--r--www/libapreq2/files/patch-src-Makefile.in20
-rw-r--r--www/libapreq2/pkg-descr14
-rw-r--r--www/libapreq2/pkg-plist15
7 files changed, 152 insertions, 0 deletions
diff --git a/www/libapreq2/Makefile b/www/libapreq2/Makefile
new file mode 100644
index 000000000000..31452fa98918
--- /dev/null
+++ b/www/libapreq2/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: p5-libapreq2
+# Date created: June 5, 2004
+# Whom: Autrijus Tang <autrijus@autrijus.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libapreq2
+PORTVERSION= 2.02r02
+CATEGORIES= www perl5 devel
+MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
+MASTER_SITE_SUBDIR=libapreq
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/_/}-dev
+
+MAINTAINER= autrijus@autrijus.org
+COMMENT= Generic Apache2 Request Library
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2:${PORTSDIR}/www/mod_perl2 \
+ ${SITE_PERL}/ExtUtils/XSBuilder:${PORTSDIR}/devel/p5-ExtUtils-XSBuilder \
+ ${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2:${PORTSDIR}/www/mod_perl2
+
+CONFLICTS= p5-libapreq
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--enable-perl-glue
+USE_PERL5= yes
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+WRKSRC= ${WRKDIR}/${DISTNAME:S/_02//}
+
+MAN3= Apache::Cookie.3 Apache::Request.3
+
+.include <bsd.port.mk>
diff --git a/www/libapreq2/distinfo b/www/libapreq2/distinfo
new file mode 100644
index 000000000000..15688756d02c
--- /dev/null
+++ b/www/libapreq2/distinfo
@@ -0,0 +1,2 @@
+MD5 (libapreq2-2.02_02-dev.tar.gz) = dbca30cd45ec88c642ef38ae6d229865
+SIZE (libapreq2-2.02_02-dev.tar.gz) = 458737
diff --git a/www/libapreq2/files/patch-Makefile.in b/www/libapreq2/files/patch-Makefile.in
new file mode 100644
index 000000000000..bab9964d67a0
--- /dev/null
+++ b/www/libapreq2/files/patch-Makefile.in
@@ -0,0 +1,43 @@
+--- Makefile.in.orig Sat Jun 5 11:37:37 2004
++++ Makefile.in Sat Jun 5 11:38:18 2004
+@@ -493,7 +493,7 @@
+ -rm -rf $(distdir)
+ tar xzvf $(distdir).tar.gz
+ @cd $(distdir); @PERL@ -M$(EUM) -e "die 'Bogus MANIFEST' if $(EUM)::manicheck"
+- @cd $(distdir); @PERL@ Makefile.PL -apxs @APACHE2_APXS@ && make test
++ @cd $(distdir); @PERL@ Makefile.PL -apxs @APACHE2_APXS@ && $(MAKE) test
+ rm -rf $(distdir)
+ @echo "$(distdir).tar.gz is kosher."
+
+@@ -534,26 +534,26 @@
+ test: lib_test env_test $(PERL_TEST)
+
+ env_test:
+- cd env; make test
++ cd env; $(MAKE) test
+
+ lib_test: check
+ t/testall -v
+
+ perl_install:
+- cd glue/perl; make install
++ cd glue/perl; $(MAKE) install
+
+ perl_test:
+- cd glue/perl; make test
++ cd glue/perl; $(MAKE) test
+
+ perl_glue:
+ cd glue/perl; @PERL@ ../../build/xsbuilder.pl run
+ cd glue/perl; @PERL@ Makefile.PL -apxs @APACHE2_APXS@
+- cd glue/perl; make
++ cd glue/perl; $(MAKE)
+
+ @BUILD_HTTPD_TRUE@install-exec-local: httpd_install
+
+ @BUILD_HTTPD_TRUE@httpd_install:
+-@BUILD_HTTPD_TRUE@ cd @APACHE2_SRC@; make install
++@BUILD_HTTPD_TRUE@ cd @APACHE2_SRC@; $(MAKE) install
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/www/libapreq2/files/patch-glue::Makefile.in b/www/libapreq2/files/patch-glue::Makefile.in
new file mode 100644
index 000000000000..3378bf119c39
--- /dev/null
+++ b/www/libapreq2/files/patch-glue::Makefile.in
@@ -0,0 +1,23 @@
+--- glue/Makefile.in.orig Sat Jun 5 11:38:26 2004
++++ glue/Makefile.in Sat Jun 5 11:38:36 2004
+@@ -251,16 +251,16 @@
+ cd perl; @PERL@ Makefile.PL -apxs @APACHE2_APXS@
+
+ perl_glue: perl/Makefile
+- cd perl; make
++ cd perl; $(MAKE)
+
+ perl_test: perl/Makefile
+- cd perl; make test
++ cd perl; $(MAKE) test
+
+ perl_install:
+- cd perl; make install
++ cd perl; $(MAKE) install
+
+ perl_clean:
+- cd perl; make clean
++ cd perl; $(MAKE) clean
+
+ @BUILD_PERL_GLUE_TRUE@all-local: perl_glue
+
diff --git a/www/libapreq2/files/patch-src-Makefile.in b/www/libapreq2/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..353c4a021d83
--- /dev/null
+++ b/www/libapreq2/files/patch-src-Makefile.in
@@ -0,0 +1,20 @@
+--- src/Makefile.in.orig Sun Nov 16 12:04:20 2003
++++ src/Makefile.in Fri Jun 11 14:15:04 2004
+@@ -110,7 +110,7 @@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+ INCLUDES = @APR_INCLUDES@ @APU_INCLUDES@
+-LIBS = @APR_LTLIBS@ @APU_LTLIBS@
++LIBS = @APR_LTLIBS@ @APU_LTLIBS@ -L$(prefix)/lib
+ BUILT_SOURCES = @APR_LA@ @APU_LA@
+ lib_LTLIBRARIES = lib@APREQ_LIBNAME@.la
+ lib@APREQ_LIBNAME@_la_SOURCES = apreq.c apreq_version.c apreq_cookie.c \
+@@ -158,7 +158,7 @@
+ apreq_config.h.in
+ SOURCES = $(lib@APREQ_LIBNAME@_la_SOURCES)
+
+-all: $(BUILT_SOURCES) apreq_config.h
++all: $(lib_LTLIBRARIES) apreq_config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-am
+
+ .SUFFIXES:
diff --git a/www/libapreq2/pkg-descr b/www/libapreq2/pkg-descr
new file mode 100644
index 000000000000..ef561fb2f66a
--- /dev/null
+++ b/www/libapreq2/pkg-descr
@@ -0,0 +1,14 @@
+libapreq2 - Generic Apache2 Request Library
+
+This package contains modules for manipulating client request data via
+the Apache API with Perl and C. Functionality includes:
+
+ - parsing of application/x-www-form-urlencoded data
+ - parsing of multipart/form-data
+ - parsing of HTTP Cookies
+
+WWW: http://httpd.apache.org/apreq/
+WWW: http://search.cpan.org/dist/libapreq2/
+
+-- Autrijus Tang
+autrijus@autrijus.org
diff --git a/www/libapreq2/pkg-plist b/www/libapreq2/pkg-plist
new file mode 100644
index 000000000000..890de107b735
--- /dev/null
+++ b/www/libapreq2/pkg-plist
@@ -0,0 +1,15 @@
+include/apreq2/apreq.h
+include/apreq2/apreq_version.h
+include/apreq2/apreq_cookie.h
+include/apreq2/apreq_params.h
+include/apreq2/apreq_env.h
+include/apreq2/apreq_parsers.h
+lib/libapreq2.so.2
+lib/libapreq2.la
+lib/libapreq2.a
+%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Cookie.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Cookie.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Request.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Request.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/libapreq2/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/libapreq2