freebsd-ports/devel/subversion-devel/Makefile

59 lines
1.5 KiB
Makefile
Raw Normal View History

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