mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Add p5-libapreq2 2.02r02, generic Apache2 Request Library.
PR: ports/67591 Submitted by: Autrijus Tang autrijus_at_autrijus.org
This commit is contained in:
parent
cb0ce00146
commit
e9f2fe72ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111264
@ -496,6 +496,7 @@
|
||||
SUBDIR += p5-WWW-Shorten
|
||||
SUBDIR += p5-libapreq
|
||||
SUBDIR += p5-libapreq-static
|
||||
SUBDIR += p5-libapreq2
|
||||
SUBDIR += p5-libservlet
|
||||
SUBDIR += p5-libwww
|
||||
SUBDIR += peacock
|
||||
|
35
www/libapreq2/Makefile
Normal file
35
www/libapreq2/Makefile
Normal file
@ -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>
|
2
www/libapreq2/distinfo
Normal file
2
www/libapreq2/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (libapreq2-2.02_02-dev.tar.gz) = dbca30cd45ec88c642ef38ae6d229865
|
||||
SIZE (libapreq2-2.02_02-dev.tar.gz) = 458737
|
43
www/libapreq2/files/patch-Makefile.in
Normal file
43
www/libapreq2/files/patch-Makefile.in
Normal file
@ -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:
|
23
www/libapreq2/files/patch-glue::Makefile.in
Normal file
23
www/libapreq2/files/patch-glue::Makefile.in
Normal file
@ -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
|
||||
|
20
www/libapreq2/files/patch-src-Makefile.in
Normal file
20
www/libapreq2/files/patch-src-Makefile.in
Normal file
@ -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:
|
14
www/libapreq2/pkg-descr
Normal file
14
www/libapreq2/pkg-descr
Normal file
@ -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
|
15
www/libapreq2/pkg-plist
Normal file
15
www/libapreq2/pkg-plist
Normal file
@ -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
|
35
www/p5-libapreq2/Makefile
Normal file
35
www/p5-libapreq2/Makefile
Normal file
@ -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>
|
2
www/p5-libapreq2/distinfo
Normal file
2
www/p5-libapreq2/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (libapreq2-2.02_02-dev.tar.gz) = dbca30cd45ec88c642ef38ae6d229865
|
||||
SIZE (libapreq2-2.02_02-dev.tar.gz) = 458737
|
43
www/p5-libapreq2/files/patch-Makefile.in
Normal file
43
www/p5-libapreq2/files/patch-Makefile.in
Normal file
@ -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:
|
23
www/p5-libapreq2/files/patch-glue::Makefile.in
Normal file
23
www/p5-libapreq2/files/patch-glue::Makefile.in
Normal file
@ -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
|
||||
|
20
www/p5-libapreq2/files/patch-src-Makefile.in
Normal file
20
www/p5-libapreq2/files/patch-src-Makefile.in
Normal file
@ -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:
|
14
www/p5-libapreq2/pkg-descr
Normal file
14
www/p5-libapreq2/pkg-descr
Normal file
@ -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
|
15
www/p5-libapreq2/pkg-plist
Normal file
15
www/p5-libapreq2/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user