2002-01-14 20:45:03 -05:00
|
|
|
# New ports collection makefile for: subversion
|
|
|
|
# Date created: 10 September 2001
|
|
|
|
# Whom: rooneg@electricjellyfish.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= subversion
|
2002-03-14 11:52:42 -05:00
|
|
|
PORTVERSION= r1467
|
2002-01-14 20:45:03 -05:00
|
|
|
CATEGORIES= devel
|
2002-03-14 11:52:42 -05:00
|
|
|
MASTER_SITES= http://www.tigris.org/files/15/38/
|
2002-01-14 20:45:03 -05:00
|
|
|
|
|
|
|
MAINTAINER= rooneg@electricjellyfish.net
|
|
|
|
|
2002-02-19 21:37:37 -05:00
|
|
|
LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 \
|
2002-03-14 11:52:42 -05:00
|
|
|
neon.19:${PORTSDIR}/www/neon \
|
|
|
|
expat:${PORTSDIR}/textproc/expat \
|
|
|
|
apr:${PORTSDIR}/devel/apr-devel
|
2002-02-19 21:37:37 -05:00
|
|
|
|
|
|
|
RUN_DEPENDS= gdiff:${PORTSDIR}/textproc/diffutils \
|
|
|
|
gpatch:${PORTSDIR}/devel/patch
|
|
|
|
|
|
|
|
BUILD_DEPENDS= gdiff:${PORTSDIR}/textproc/diffutils \
|
|
|
|
gpatch:${PORTSDIR}/devel/patch \
|
2002-03-14 11:52:42 -05:00
|
|
|
python:${PORTSDIR}/lang/python
|
2002-02-19 21:37:37 -05:00
|
|
|
|
|
|
|
MAN1= svn.1
|
|
|
|
|
2002-03-14 11:52:42 -05:00
|
|
|
WRKSRC= ${WRKDIR}/subversion-r1467
|
2002-02-19 21:37:37 -05:00
|
|
|
GNU_CONFIGURE= yes
|
2002-03-14 11:52:42 -05:00
|
|
|
CONFIGURE_ARGS= --with-ssl \
|
|
|
|
--with-neon=${LOCALBASE} \
|
|
|
|
--with-apr=${LOCALBASE} \
|
|
|
|
--with-apr-util=${LOCALBASE}
|
2002-02-19 21:37:37 -05:00
|
|
|
|
|
|
|
post-extract:
|
2002-03-14 11:52:42 -05:00
|
|
|
# work around libdb4's name.
|
2002-02-19 21:37:37 -05:00
|
|
|
@${PERL} -pi -e 's/ldb/ldb4/g' ${WRKSRC}/configure
|
2002-03-14 11:52:42 -05:00
|
|
|
|
|
|
|
# axe the neon, apr, and apr-util subdirs to keep svn's build process
|
|
|
|
# from using them, since we're providing our own.
|
2002-02-19 21:37:37 -05:00
|
|
|
@${RM} -r ${WRKSRC}/neon
|
2002-03-14 11:52:42 -05:00
|
|
|
@${RM} -r ${WRKSRC}/apr
|
|
|
|
@${RM} -r ${WRKSRC}/apr-util
|
2002-02-19 21:37:37 -05:00
|
|
|
|
|
|
|
post-configure:
|
2002-03-14 11:52:42 -05:00
|
|
|
# regenerate build-outputs.mk so we can use our installed expat,
|
|
|
|
# rather than the expat-lite in svn's tree
|
|
|
|
(cd ${WRKSRC} && ./gen-make.py -s build.conf)
|
|
|
|
|
|
|
|
# make sure we don't install the swig stuff, even if it was found
|
2002-02-19 21:37:37 -05:00
|
|
|
@${PERL} -pi -e 's/install-swig-py-lib//g' ${WRKSRC}/Makefile
|
|
|
|
@${PERL} -pi -e 's/swig-py-lib//g' ${WRKSRC}/Makefile
|
2002-01-14 20:45:03 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|