d248bd53da
libapreq is a safe, standards-compliant, high-performance library used for parsing HTTP cookies, query-strings and POST data. The original version (libapreq-1.X) was designed by Lincoln Stein and Doug MacEachern. The perl APIs Apache::Request and Apache::Cookie are the lightweight mod_perl analogs of the CGI and CGI::Cookie perl modules.
38 lines
901 B
Makefile
38 lines
901 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/22 16:22:01 simon Exp $
|
|
|
|
COMMENT= apache HTTP server request library
|
|
SHARED_ONLY= Yes
|
|
|
|
DISTNAME= libapreq2-2.08
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/J/JO/JOESUF/}
|
|
MODULES= converters/libiconv
|
|
SHARED_LIBS= apreq2 9.0
|
|
|
|
MAINTAINER= Simon Bertrang <simon@openbsd.org>
|
|
|
|
# Artistic + GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= apr-1 aprutil-1 db expat
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= --enable-perl-glue \
|
|
--with-apache2-apxs=${LOCALBASE}/sbin/apxs2
|
|
|
|
BUILD_DEPENDS= ::devel/p5-ExtUtils-XSBuilder
|
|
LIB_DEPENDS= ::www/ap2-mod_perl
|
|
REGRESS_DEPENDS=::www/p5-Apache-Test
|
|
|
|
post-regress:
|
|
cd ${WRKSRC}/glue/perl && \
|
|
LD_LIBRARY_PATH="${WRKSRC}/library/.libs:${LOCALBASE}" ${MAKE} test
|
|
|
|
.include <bsd.port.mk>
|