aboutsummaryrefslogtreecommitdiff
path: root/devel/subversion16/Makefile
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2006-05-25 11:17:17 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2006-05-25 11:17:17 +0000
commit64c939477f2d4670467d324f7c0e917ce24d1249 (patch)
tree07ec9a9c4ef1036e46edeefc4401e50510e84d8c /devel/subversion16/Makefile
parenta18d1d540bd6850a50a22bde712062d39f6fd7f8 (diff)
downloadports-64c939477f2d4670467d324f7c0e917ce24d1249.tar.gz
ports-64c939477f2d4670467d324f7c0e917ce24d1249.zip
Notes
Diffstat (limited to 'devel/subversion16/Makefile')
-rw-r--r--devel/subversion16/Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/devel/subversion16/Makefile b/devel/subversion16/Makefile
index 27cc5c334aac..eaecaa83604e 100644
--- a/devel/subversion16/Makefile
+++ b/devel/subversion16/Makefile
@@ -6,7 +6,7 @@
PORTNAME= subversion
PORTVERSION= 1.3.1
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= devel
MASTER_SITES= http://subversion.tigris.org/downloads/:main \
http://svnbook.red-bean.com/en/1.1/:bookhtml \
@@ -26,6 +26,8 @@ USE_AUTOTOOLS= libtool:15
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ssl
+USE_RC_SUBR=svnserve.sh
+
MAN1= svn.1 svnadmin.1 svnlook.1 svndumpfilter.1 svnversion.1
MAN5= svnserve.conf.5
MAN8= svnserve.8
@@ -198,6 +200,12 @@ PORTDOCS+= book
DISTFILES+= svn-book.html:bookhtml svn-book.pdf:bookpdf
.endif
+.if defined(WITH_ASVN)
+PLIST_SUB+= ASVN=""
+.else
+PLIST_SUB+= ASVN="@comment "
+.endif
+
SCRIPTS=
SCRIPTS_DATA=
@@ -298,6 +306,12 @@ pre-everything::
@${ECHO_MSG} "You can install the Subversion Book by defining WITH_BOOK."
.endif
@${ECHO_MSG} ""
+.if defined(WITH_ASVN)
+ @${ECHO_MSG} "asvn will be installed"
+.else
+ @${ECHO_MSG} "You can install asvn from contrib by defining WITH_ASVN"
+.endif
+ @${ECHO_MSG} ""
@${ECHO_MSG} "Many useful scripts will be installed into ${PREFIX}/share/subversion"
post-extract:
@@ -375,6 +389,9 @@ post-install: ${MKREPOS_TARGET}
${INSTALL_DATA} ${DISTDIR}/svn-book.pdf ${DOCSDIR}/book
.endif
.endif
+.if defined(WITH_ASVN)
+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/client-side/asvn ${PREFIX}/bin
+.endif
.if defined(WITH_PERL)
cd ${WRKSRC} ; \
${REINPLACE_CMD} '/SWIG_PL_DIR/s, install$$, all pure_install,g' ${WRKSRC}/Makefile ; \