openbsd-ports/www/p5-libapreq2/Makefile
2013-03-11 11:35:43 +00:00

39 lines
865 B
Makefile

# $OpenBSD: Makefile,v 1.7 2013/03/11 11:44:47 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
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
TEST_DEPENDS=www/p5-Apache-Test
post-test:
cd ${WRKSRC}/glue/perl && \
LD_LIBRARY_PATH="${WRKSRC}/library/.libs:${LOCALBASE}" ${MAKE} test
.include <bsd.port.mk>