summaryrefslogtreecommitdiff
path: root/devel/apr2/Makefile
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@FreeBSD.org>2003-03-28 05:46:27 +0000
committerBruce A. Mah <bmah@FreeBSD.org>2003-03-28 05:46:27 +0000
commit19604084cb2266f2bd45df5435882812eed567f6 (patch)
tree54482737154bd788cf2b54965e496e86005e8482 /devel/apr2/Makefile
parentUpdate to 1.15 (diff)
Update to 0.9.2-alpha.
Mostly updated from the PR, plus a couple of fixes to get version numbers to work correctly and a plist fix-up. PR: 50309 Submitted by: plasmaball@pchome.com.tw, Craig Rodrigues <rodrigc@attbi.com> Approved by: Craig Rodrigues <rodrigc@attbi.com> (MAINTAINER)
Notes
Notes: svn path=/head/; revision=77583
Diffstat (limited to 'devel/apr2/Makefile')
-rw-r--r--devel/apr2/Makefile26
1 files changed, 15 insertions, 11 deletions
diff --git a/devel/apr2/Makefile b/devel/apr2/Makefile
index 204a1964836e..c8f5aec8e6b1 100644
--- a/devel/apr2/Makefile
+++ b/devel/apr2/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= apr
-PORTVERSION= 0.9.1
+PORTVERSION= 0.9.2.a
+INTERNALPORTVERSION= 0.9.2
CATEGORIES= devel
MASTER_SITES= http://www.apache.org/dist/apr/
-DISTFILES= apr-${PORTVERSION}.tar.gz apr-util-${PORTVERSION}.tar.gz
+DISTFILES= apr-${INTERNALPORTVERSION}-alpha.tar.gz apr-util-${INTERNALPORTVERSION}-alpha.tar.gz
MAINTAINER= rodrigc@attbi.com
COMMENT= The Apache Group's Portability Library
@@ -35,28 +36,31 @@ APR_UTIL_CONF_ENV=${CONFIGURE_ENV} \
CPPFLAGS="-I${PREFIX}/include" \
LDFLAGS="-L${PREFIX}/lib"
-APR_UTIL_CONF_ARGS= --with-apr=../apr-${PORTVERSION} --with-expat=${PREFIX}
+APR_UTIL_CONF_ARGS= --with-apr=../apr-${INTERNALPORTVERSION} \
+ --with-expat=${PREFIX} \
+ --with-iconv=${PREFIX}
pre-fetch:
${SH} pkg-install apr PRE-INSTALL
pre-configure:
- cd ${WRKDIR}/apr-${PORTVERSION}; ./buildconf
- cd ${WRKDIR}/apr-util-${PORTVERSION}; ./buildconf
+ cd ${WRKDIR}/apr-${INTERNALPORTVERSION}; ./buildconf
+ cd ${WRKDIR}/apr-util-${INTERNALPORTVERSION}; ./buildconf \
+ --with-apr=../apr-${INTERNALPORTVERSION}
do-configure:
- cd ${WRKDIR}/apr-${PORTVERSION}; \
+ cd ${WRKDIR}/apr-${INTERNALPORTVERSION}; \
${SETENV} ${APR_CONF_ENV} ./configure ${CONFIGURE_ARGS}
- cd ${WRKDIR}/apr-util-${PORTVERSION}; \
+ cd ${WRKDIR}/apr-util-${INTERNALPORTVERSION}; \
${SETENV} ${APR_UTIL_CONF_ENV} \
./configure ${CONFIGURE_ARGS} ${APR_UTIL_CONF_ARGS}
do-build:
- cd ${WRKDIR}/apr-${PORTVERSION}; ${SETENV} ${MAKE_ENV} make
- cd ${WRKDIR}/apr-util-${PORTVERSION}; ${SETENV} ${MAKE_ENV} make
+ cd ${WRKDIR}/apr-${INTERNALPORTVERSION}; ${SETENV} ${MAKE_ENV} make
+ cd ${WRKDIR}/apr-util-${INTERNALPORTVERSION}; ${SETENV} ${MAKE_ENV} make
do-install:
- cd ${WRKDIR}/apr-${PORTVERSION}; ${SETENV} ${MAKE_ENV} make install
- cd ${WRKDIR}/apr-util-${PORTVERSION}; ${SETENV} ${MAKE_ENV} make install
+ cd ${WRKDIR}/apr-${INTERNALPORTVERSION}; ${SETENV} ${MAKE_ENV} make install
+ cd ${WRKDIR}/apr-util-${INTERNALPORTVERSION}; ${SETENV} ${MAKE_ENV} make install
.include <bsd.port.mk>