Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / apr / Makefile
blobf4bf1513e16e360ccf914bb318d1c789f39e49b6
1 # $NetBSD: Makefile,v 1.69 2012/03/11 12:17:46 ryoon Exp $
3 DISTNAME= apr-1.4.6
4 CATEGORIES= devel
5 MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
6 EXTRACT_SUFX= .tar.bz2
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://apr.apache.org/
10 COMMENT= Apache Portable Runtime
11 LICENSE= apache-2.0
13 PKG_INSTALLATION_TYPES= overwrite pkgviews
15 USE_LIBTOOL= yes
16 USE_TOOLS+= pkg-config
17 PKGCONFIG_OVERRIDE+= apr.pc.in
18 GNU_CONFIGURE= yes
19 CONFIGURE_ARGS+= --with-devrandom=/dev/urandom
20 CONFIGURE_ARGS+= --with-installbuilddir=${PREFIX}/libexec/apr
21 CONFIGURE_ENV+= LIBS=${LIBS:M*:Q}
22 LIBS.SunOS+= -lnsl
24 TEST_TARGET= check
26 post-install:
27 ${RM} ${DESTDIR}${PREFIX}/libexec/apr/libtool
28 ${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${DESTDIR}${PREFIX}/libexec/apr/libtool
30 .include "../../mk/bsd.prefs.mk"
31 .if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
32 .include "../../devel/libuuid/buildlink3.mk"
33 .endif
34 .include "../../mk/bsd.pkg.mk"