2002-01-15 02:45:03 +01:00
|
|
|
# New ports collection makefile for: subversion
|
|
|
|
# Date created: 10 September 2001
|
|
|
|
# Whom: rooneg@electricjellyfish.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= subversion
|
2003-04-19 05:32:34 +02:00
|
|
|
PORTVERSION= 0.21.0
|
2002-01-15 02:45:03 +01:00
|
|
|
CATEGORIES= devel
|
2003-04-19 05:32:34 +02:00
|
|
|
MASTER_SITES= http://subversion.tigris.org/files/documents/15/3712/
|
2003-03-25 18:05:54 +01:00
|
|
|
MASTER_SITES+= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= bmah
|
2002-01-15 02:45:03 +01:00
|
|
|
|
2003-01-02 09:52:09 +01:00
|
|
|
MAINTAINER= rodrigc@attbi.com
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= Version control system
|
2002-01-15 02:45:03 +01:00
|
|
|
|
2002-02-20 03:37:37 +01:00
|
|
|
LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 \
|
2003-01-02 09:52:09 +01:00
|
|
|
neon.23:${PORTSDIR}/www/neon \
|
2002-09-17 09:41:05 +02:00
|
|
|
expat.4:${PORTSDIR}/textproc/expat2 \
|
2003-01-03 02:29:16 +01:00
|
|
|
apr-0.9:${PORTSDIR}/devel/apr
|
2002-03-25 11:52:08 +01:00
|
|
|
RUN_DEPENDS= gdiff3:${PORTSDIR}/textproc/diffutils
|
2002-05-07 17:01:03 +02:00
|
|
|
BUILD_DEPENDS= gdiff3:${PORTSDIR}/textproc/diffutils
|
2002-02-20 03:37:37 +01:00
|
|
|
|
2003-04-04 20:06:54 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
2002-03-27 10:47:08 +01:00
|
|
|
WRKSRC= ${WRKDIR}/subversion-${PORTVERSION}
|
2002-02-20 03:37:37 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-07-15 20:06:17 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-04-04 20:06:54 +02:00
|
|
|
CONFIGURE_ARGS= --with-ssl \
|
2002-03-14 17:52:42 +01:00
|
|
|
--with-neon=${LOCALBASE} \
|
2002-07-15 20:06:17 +02:00
|
|
|
--with-berkeley-db=${LOCALBASE}/include/db4:${LOCALBASE}/lib \
|
2002-03-14 17:52:42 +01:00
|
|
|
--with-apr=${LOCALBASE} \
|
|
|
|
--with-apr-util=${LOCALBASE}
|
2002-02-20 03:37:37 +01:00
|
|
|
|
2003-04-04 20:06:54 +02:00
|
|
|
MAN1= svn.1 svnadmin.1
|
|
|
|
MANCOMPRESSED= no
|
2003-01-24 08:08:11 +01:00
|
|
|
|
2002-02-20 03:37:37 +01:00
|
|
|
post-extract:
|
2002-07-15 20:06:17 +02:00
|
|
|
@${REINPLACE_CMD} 's/ldb/ldb4/g' ${WRKSRC}/configure
|
2002-03-14 17:52:42 +01:00
|
|
|
|
2002-02-20 03:37:37 +01:00
|
|
|
@${RM} -r ${WRKSRC}/neon
|
2002-03-14 17:52:42 +01:00
|
|
|
@${RM} -r ${WRKSRC}/apr
|
|
|
|
@${RM} -r ${WRKSRC}/apr-util
|
2002-02-20 03:37:37 +01:00
|
|
|
|
|
|
|
post-configure:
|
2002-07-15 20:06:17 +02:00
|
|
|
@${REINPLACE_CMD} 's/install-swig-py-lib//g' ${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} 's/swig-py-lib//g' ${WRKSRC}/Makefile
|
2003-01-24 08:08:11 +01:00
|
|
|
|
|
|
|
post-install:
|
2003-04-04 20:06:54 +02:00
|
|
|
install-info ${PREFIX}/info/svn-design.info ${PREFIX}/info/dir
|
2003-01-24 08:08:11 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
cd ${WRKSRC}/doc/book; \
|
2003-04-03 22:35:06 +02:00
|
|
|
${MAKE} INSTALL_DIR=${DOCSDIR} \
|
|
|
|
install-book-html install-book-pdf install-book-ps
|
2003-01-24 08:08:11 +01:00
|
|
|
.endif
|
2002-01-15 02:45:03 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|