freebsd-ports/devel/apr1/Makefile
Ollivier Robert 48a3fec481 Update to apr version 20020725223645
PR:		ports/41249
Submitted by:	Garrett Rooney <rooneg@electricjellyfish.net> (MAINTAINER)
2002-08-05 09:38:24 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: apr
# Date created: 19 February 2002
# Whom: Garrett Rooney <rooneg@electricjellyfish.net>
#
# $FreeBSD$
#
PORTNAME= apr
PORTVERSION= 20020725223645
CATEGORIES= devel
MASTER_SITES= http://www.apache.org/dist/apr/not-released/
DISTFILES= apr_${PORTVERSION}.tar.gz apr-util_20020725223700.tar.gz
MAINTAINER= rooneg@electricjellyfish.net
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \
libtool:${PORTSDIR}/devel/libtool
LIB_DEPENDS= expat.3:${PORTSDIR}/textproc/expat2 \
iconv.3:${PORTSDIR}/converters/libiconv
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}
pre-fetch:
@${SH} pkg-install apr PRE-INSTALL
pre-configure:
@(cd ${WRKDIR}/apr/ && ./buildconf)
@(cd ${WRKDIR}/apr-util/ && ./buildconf)
do-configure:
@(cd ${WRKDIR}/apr/ && ./configure --prefix=${PREFIX})
@(cd ${WRKDIR}/apr-util/ && ${ENV} CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib ./configure --prefix=${PREFIX} --with-apr=../apr/ --with-expat=${PREFIX})
do-build:
@(cd ${WRKDIR}/apr/ && make)
@(cd ${WRKDIR}/apr-util/ && make)
do-install:
@(cd ${WRKDIR}/apr/ && make install)
(cd ${WRKDIR}/apr-util/ && make install)
.include <bsd.port.mk>