mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# New ports collection makefile for: subversion
|
|
# Date created: 10 September 2001
|
|
# Whom: rooneg@electricjellyfish.net
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= subversion
|
|
PORTVERSION= r3987 # 0.16.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://subversion.tigris.org/files/documents/15/2123/
|
|
|
|
MAINTAINER= rodrigc@attbi.com
|
|
COMMENT= Version control system
|
|
|
|
LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 \
|
|
neon.23:${PORTSDIR}/www/neon \
|
|
expat.4:${PORTSDIR}/textproc/expat2 \
|
|
apr-0.9:${PORTSDIR}/devel/apr
|
|
RUN_DEPENDS= gdiff3:${PORTSDIR}/textproc/diffutils
|
|
BUILD_DEPENDS= gdiff3:${PORTSDIR}/textproc/diffutils
|
|
|
|
WRKSRC= ${WRKDIR}/subversion-${PORTVERSION}
|
|
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}
|
|
|
|
MAN1= svn.1 svnadmin.1
|
|
MANCOMPRESSED= no
|
|
|
|
post-extract:
|
|
@${REINPLACE_CMD} 's/ldb/ldb4/g' ${WRKSRC}/configure
|
|
|
|
@${RM} -r ${WRKSRC}/neon
|
|
@${RM} -r ${WRKSRC}/apr
|
|
@${RM} -r ${WRKSRC}/apr-util
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} 's/install-swig-py-lib//g' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} 's/swig-py-lib//g' ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
cd ${WRKSRC}/doc/book; \
|
|
${MAKE} INSTALL_DIR=${DOCSDIR} install-book
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|