openbsd-ports/www/p5-libapreq2/Makefile
2010-10-19 08:02:53 +00:00

42 lines
962 B
Makefile

# $OpenBSD: Makefile,v 1.5 2010/10/19 08:02:57 espie Exp $
COMMENT= apache HTTP server request library
SHARED_ONLY= Yes
DISTNAME= libapreq2-2.08
PKGNAME= p5-${DISTNAME}
REVISION= 1
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
USE_GROFF = Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-perl-glue \
--with-apache2-apxs=${LOCALBASE}/sbin/apxs2
BUILD_DEPENDS= ::devel/p5-ExtUtils-XSBuilder
LIB_DEPENDS= ::devel/apr \
::devel/apr-util \
::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>