ports/67591: New port: www/p5-libapreq2
Autrijus Tang
autrijus at autrijus.org
Sat Jun 5 05:01:01 UTC 2004
The following reply was made to PR ports/67591; it has been noted by GNATS.
From: Autrijus Tang <autrijus at autrijus.org>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/67591: New port: www/p5-libapreq2
Date: Sat, 5 Jun 2004 12:52:30 +0800
Sorry, the previous submission was not properly tidied up.
Here follows the correct version.
Thanks,
/Autrijus/
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./pkg-descr
# ./pkg-plist
# ./Makefile
# ./distinfo
# ./files
# ./files/patch-Makefile.in
# ./files/patch-glue::Makefile.in
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
Xlibapreq2 - Generic Apache2 Request Library
X
XThis package contains modules for manipulating client request data via
Xthe Apache API with Perl and C. Functionality includes:
X
X - parsing of application/x-www-form-urlencoded data
X - parsing of multipart/form-data
X - parsing of HTTP Cookies
X
XWWW: http://httpd.apache.org/apreq/
XWWW: http://search.cpan.org/dist/libapreq2/
X
X-- Autrijus Tang
Xautrijus at autrijus.org
END-of-./pkg-descr
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xinclude/apreq2/apreq.h
Xinclude/apreq2/apreq_version.h
Xinclude/apreq2/apreq_cookie.h
Xinclude/apreq2/apreq_params.h
Xinclude/apreq2/apreq_env.h
Xinclude/apreq2/apreq_parsers.h
Xlib/libapreq2.so.2
Xlib/libapreq2.la
Xlib/libapreq2.a
X%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Cookie.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Cookie.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Request.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Request.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/libapreq2/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/libapreq2
END-of-./pkg-plist
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for: p5-libapreq2
X# Date created: June 5, 2004
X# Whom: Autrijus Tang <autrijus at autrijus.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= libapreq2
XPORTVERSION= 2.02r02
XCATEGORIES= www perl5 devel
XMASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
XMASTER_SITE_SUBDIR=libapreq
XPKGNAMEPREFIX= p5-
XDISTNAME= ${PORTNAME}-${PORTVERSION:S/r/_/}-dev
X
XMAINTAINER= autrijus at autrijus.org
XCOMMENT= Generic Apache2 Request Library
X
XBUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2:${PORTSDIR}/www/mod_perl2 \
X ${SITE_PERL}/ExtUtils/XSBuilder:${PORTSDIR}/devel/p5-ExtUtils-XSBuilder
XRUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2:${PORTSDIR}/www/mod_perl2
X
XCONFLICTS= p5-libapreq
X
XUSE_GMAKE= yes
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS+=--enable-perl-glue
XUSE_PERL5= yes
XMAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
XWRKSRC= ${WRKDIR}/${DISTNAME:S/_02//}
X
XMAN3= Apache::Cookie.3 Apache::Request.3
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (libapreq2-2.02_02-dev.tar.gz) = dbca30cd45ec88c642ef38ae6d229865
XSIZE (libapreq2-2.02_02-dev.tar.gz) = 458737
END-of-./distinfo
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-Makefile.in
sed 's/^X//' >./files/patch-Makefile.in << 'END-of-./files/patch-Makefile.in'
X--- Makefile.in.orig Sat Jun 5 11:37:37 2004
X+++ Makefile.in Sat Jun 5 11:38:18 2004
X@@ -493,7 +493,7 @@
X -rm -rf $(distdir)
X tar xzvf $(distdir).tar.gz
X @cd $(distdir); @PERL@ -M$(EUM) -e "die 'Bogus MANIFEST' if $(EUM)::manicheck"
X- @cd $(distdir); @PERL@ Makefile.PL -apxs @APACHE2_APXS@ && make test
X+ @cd $(distdir); @PERL@ Makefile.PL -apxs @APACHE2_APXS@ && $(MAKE) test
X rm -rf $(distdir)
X @echo "$(distdir).tar.gz is kosher."
X
X@@ -534,26 +534,26 @@
X test: lib_test env_test $(PERL_TEST)
X
X env_test:
X- cd env; make test
X+ cd env; $(MAKE) test
X
X lib_test: check
X t/testall -v
X
X perl_install:
X- cd glue/perl; make install
X+ cd glue/perl; $(MAKE) install
X
X perl_test:
X- cd glue/perl; make test
X+ cd glue/perl; $(MAKE) test
X
X perl_glue:
X cd glue/perl; @PERL@ ../../build/xsbuilder.pl run
X cd glue/perl; @PERL@ Makefile.PL -apxs @APACHE2_APXS@
X- cd glue/perl; make
X+ cd glue/perl; $(MAKE)
X
X @BUILD_HTTPD_TRUE at install-exec-local: httpd_install
X
X @BUILD_HTTPD_TRUE at httpd_install:
X- at BUILD_HTTPD_TRUE@ cd @APACHE2_SRC@; make install
X+ at BUILD_HTTPD_TRUE@ cd @APACHE2_SRC@; $(MAKE) install
X # Tell versions [3.59,3.63) of GNU make to not export all variables.
X # Otherwise a system limit (for SysV at least) may be exceeded.
X .NOEXPORT:
END-of-./files/patch-Makefile.in
echo x - ./files/patch-glue::Makefile.in
sed 's/^X//' >./files/patch-glue::Makefile.in << 'END-of-./files/patch-glue::Makefile.in'
X--- glue/Makefile.in.orig Sat Jun 5 11:38:26 2004
X+++ glue/Makefile.in Sat Jun 5 11:38:36 2004
X@@ -251,16 +251,16 @@
X cd perl; @PERL@ Makefile.PL -apxs @APACHE2_APXS@
X
X perl_glue: perl/Makefile
X- cd perl; make
X+ cd perl; $(MAKE)
X
X perl_test: perl/Makefile
X- cd perl; make test
X+ cd perl; $(MAKE) test
X
X perl_install:
X- cd perl; make install
X+ cd perl; $(MAKE) install
X
X perl_clean:
X- cd perl; make clean
X+ cd perl; $(MAKE) clean
X
X @BUILD_PERL_GLUE_TRUE at all-local: perl_glue
X
END-of-./files/patch-glue::Makefile.in
exit
More information about the freebsd-ports-bugs
mailing list