blob: ec30bf9ece1a38d927464aa9591ba0d428556142 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.4 2002/08/19 19:51:22 wiz Exp $
DISTNAME= apr_20020725223645
PKGNAME= apr-0.20020725223645
CATEGORIES= devel
MASTER_SITES= http://www.apache.org/dist/apr/not-released/
DISTFILES= apr_20020725223645.tar.gz apr-util_20020725223700.tar.gz
MAINTAINER= joelw@unix.se
HOMEPAGE= http://apr.apache.org/
COMMENT= Apache Portable Run-time, a system portability layer
BUILD_DEPENDS= autoconf>=2.50:../../devel/autoconf-devel
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/build/ldconfig
WRKSRC= ${WRKDIR}
pre-configure:
(cd ${WRKDIR}/apr && ./buildconf)
(cd ${WRKDIR}/apr-util && ./buildconf)
do-configure:
(cd ${WRKDIR}/apr && ${SETENV} ${CONFIGURE_ENV} ./configure \
--prefix=${PREFIX} \
--with-devrandom=/dev/urandom \
)
(cd ${WRKDIR}/apr-util && ${SETENV} ${CONFIGURE_ENV} ./configure --prefix=${PREFIX} --with-apr=../apr --with-expat=${LOCALBASE})
do-build:
(cd ${WRKDIR}/apr && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
(cd ${WRKDIR}/apr-util && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
do-install:
(cd ${WRKDIR}/apr && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET})
(cd ${WRKDIR}/apr-util && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET})
.include "../../textproc/expat/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|