2011-12-07 11:47:37 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.102 2011/12/07 16:47:37 stsp Exp $
|
2009-04-28 19:43:56 -04:00
|
|
|
|
|
|
|
COMMENT-main= subversion revision control system
|
|
|
|
COMMENT-perl= perl interface to subversion
|
|
|
|
COMMENT-python= python interface to subversion
|
|
|
|
COMMENT-ruby= ruby interface to subversion
|
|
|
|
COMMENT-ap2= apache2 subversion modules
|
|
|
|
|
2011-12-07 11:47:37 -05:00
|
|
|
VERSION= 1.7.2
|
2009-04-28 19:43:56 -04:00
|
|
|
DISTNAME= subversion-${VERSION}
|
2010-04-23 14:05:26 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
FULLPKGNAME-perl= p5-SVN-${VERSION}
|
2010-02-26 13:21:08 -05:00
|
|
|
FULLPKGPATH-perl= devel/subversion,-perl
|
2010-04-23 14:05:26 -04:00
|
|
|
FULLPKGNAME-python= py-subversion-${VERSION}
|
2010-02-26 13:21:08 -05:00
|
|
|
FULLPKGPATH-python= devel/subversion,-python
|
2010-04-23 14:05:26 -04:00
|
|
|
FULLPKGNAME-ruby= ruby-subversion-${VERSION}
|
2010-02-26 13:21:08 -05:00
|
|
|
FULLPKGPATH-ruby= devel/subversion,-ruby
|
2010-04-23 14:05:26 -04:00
|
|
|
FULLPKGNAME-ap2= ap2-subversion-${VERSION}
|
2010-02-26 13:21:08 -05:00
|
|
|
FULLPKGPATH-ap2= devel/subversion,-ap2
|
2009-04-28 19:43:56 -04:00
|
|
|
|
2011-10-13 07:22:58 -04:00
|
|
|
SO_VERSION= 1.3
|
2006-09-30 02:23:58 -04:00
|
|
|
SVN_LIBS= svn_client-1 svn_delta-1 svn_diff-1 svn_fs-1 \
|
2008-11-02 15:43:49 -05:00
|
|
|
svn_fs_base-1 svn_fs_fs-1 svn_fs_util-1 svn_ra-1 svn_ra_neon-1 \
|
|
|
|
svn_ra_local-1 svn_ra_neon-1 svn_ra_svn-1 svn_repos-1 svn_subr-1 svn_wc-1
|
2006-11-29 03:52:38 -05:00
|
|
|
.for _lib in ${SVN_LIBS} svn_swig_perl-1 svn_swig_py-1 svn_swig_ruby-1
|
2007-01-05 05:57:06 -05:00
|
|
|
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
2006-09-30 02:23:58 -04:00
|
|
|
.endfor
|
2006-01-06 20:10:11 -05:00
|
|
|
|
2004-12-01 11:47:54 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2010-04-23 14:05:26 -04:00
|
|
|
HOMEPAGE= http://subversion.apache.org
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2009-03-05 18:14:07 -05:00
|
|
|
MAINTAINER= Stefan Sperling <stsp@openbsd.org>
|
2004-12-01 11:47:54 -05:00
|
|
|
|
|
|
|
# BSD alike + Apache License 2.0
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-10-13 07:22:58 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=subversion/}
|
2009-04-28 19:43:56 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2011-12-04 11:06:52 -05:00
|
|
|
PSEUDO_FLAVORS= no_bindings no_ap2 no_perl no_python no_ruby
|
2009-09-10 11:35:04 -04:00
|
|
|
FLAVORS= gnome_keyring
|
2004-12-01 11:47:54 -05:00
|
|
|
FLAVOR?=
|
2011-12-04 11:06:52 -05:00
|
|
|
.if ${FLAVOR:Mno_bindings}
|
|
|
|
FLAVOR += no_perl no_python no_ruby
|
|
|
|
.endif
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2008-11-18 18:08:01 -05:00
|
|
|
MODULES= devel/gettext lang/python
|
2010-10-18 13:47:50 -04:00
|
|
|
USE_GROFF = Yes
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2011-10-13 07:22:58 -04:00
|
|
|
WANTLIB= expat db magic z
|
2006-11-24 14:52:53 -05:00
|
|
|
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2010-06-23 13:38:29 -04:00
|
|
|
# autogen.sh checks for libtoolize
|
|
|
|
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
|
2010-11-15 14:45:56 -05:00
|
|
|
devel/libtool
|
2010-04-25 04:43:29 -04:00
|
|
|
|
2011-12-04 11:06:52 -05:00
|
|
|
MULTI_PACKAGES = -main -ap2 -perl -python -ruby
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
MAINSPEC = ${PKGNAME}:devel/subversion,-main
|
2010-11-08 07:26:01 -05:00
|
|
|
LIB_DEPENDS-main = ${LIB_DEPENDS} \
|
2010-11-26 02:18:59 -05:00
|
|
|
net/neon>=0.26.2 \
|
2010-11-15 14:45:56 -05:00
|
|
|
devel/apr \
|
|
|
|
devel/apr-util \
|
|
|
|
security/cyrus-sasl2 \
|
2011-10-13 07:22:58 -04:00
|
|
|
databases/sqlite3 \
|
|
|
|
devel/libmagic
|
2010-11-08 07:26:01 -05:00
|
|
|
|
|
|
|
WANTLIB-main= ${WANTLIB} asn1 c crypto gssapi krb5 ssl \
|
2010-11-15 14:45:56 -05:00
|
|
|
neon>=26 apr-1 aprutil-1 sasl2>=2 sqlite3
|
2006-12-01 09:10:05 -05:00
|
|
|
RUN_DEPENDS-main= ${MODGETTEXT_RUN_DEPENDS}
|
2006-11-24 14:52:53 -05:00
|
|
|
|
2008-11-02 15:43:49 -05:00
|
|
|
TOOLS_HOOK_SCRIPTS= commit-access-control.cfg.example \
|
2009-04-28 19:43:56 -04:00
|
|
|
commit-access-control.pl commit-email.rb \
|
2008-12-27 14:20:36 -05:00
|
|
|
log-police.py svn2feed.py svnperms.conf.example \
|
|
|
|
svnperms.py verify-po.py
|
|
|
|
# There's also 'mailer', but we handle it separately, see post-install
|
|
|
|
|
|
|
|
TOOLS_CLIENT_SIDE_SCRIPTS= bash_completion change-svn-wc-format.py \
|
|
|
|
server-version.py showchange.pl svn-graph.pl
|
2008-11-02 15:43:49 -05:00
|
|
|
|
2009-09-10 11:35:04 -04:00
|
|
|
WANTLIB-ap2= ${WANTLIB} apr-1 aprutil-1 sqlite3
|
2010-11-08 07:26:01 -05:00
|
|
|
LIB_DEPENDS-ap2= ${MODGETTEXT_LIB_DEPENDS} ${MAINSPEC}
|
2011-12-04 11:06:52 -05:00
|
|
|
.for _lib in svn_delta-1 svn_fs-1 svn_fs_base-1 svn_fs_fs-1 \
|
2008-11-02 15:43:49 -05:00
|
|
|
svn_fs_util-1 svn_repos-1 svn_subr-1
|
2010-11-15 14:45:56 -05:00
|
|
|
WANTLIB-ap2 += ${_lib}>=${SO_VERSION}
|
2011-12-04 11:06:52 -05:00
|
|
|
.endfor
|
2010-11-15 14:45:56 -05:00
|
|
|
RUN_DEPENDS-ap2= www/apache-httpd
|
2007-04-11 09:26:36 -04:00
|
|
|
|
2011-12-04 11:06:52 -05:00
|
|
|
NOT_FOR_ARCHS-perl = ${NO_SHARED_ARCHS}
|
|
|
|
NOT_FOR_ARCHS-python = ${NO_SHARED_ARCHS}
|
|
|
|
NOT_FOR_ARCHS-ruby = ${NO_SHARED_ARCHS}
|
2006-11-24 14:52:53 -05:00
|
|
|
|
2009-09-10 11:35:04 -04:00
|
|
|
WANTLIB-perl= ${WANTLIB} apr-1 aprutil-1 sqlite3
|
2006-12-01 09:10:05 -05:00
|
|
|
RUN_DEPENDS-perl= ${MODGETTEXT_RUN_DEPENDS}
|
2010-11-08 07:26:01 -05:00
|
|
|
LIB_DEPENDS-perl= ${MODGETTEXT_LIB_DEPENDS} ${MAINSPEC}
|
2011-12-04 11:06:52 -05:00
|
|
|
.for _lib in svn_diff-1 svn_ra-1 svn_delta-1 svn_subr-1 svn_fs-1 \
|
2006-09-30 02:23:58 -04:00
|
|
|
svn_repos-1 svn_wc-1 svn_client-1
|
2010-11-15 14:45:56 -05:00
|
|
|
WANTLIB-perl += ${_lib}>=${SO_VERSION}
|
2011-12-04 11:06:52 -05:00
|
|
|
.endfor
|
2006-11-24 14:52:53 -05:00
|
|
|
|
2009-09-10 11:35:04 -04:00
|
|
|
WANTLIB-python= ${WANTLIB} apr-1 aprutil-1 asn1 crypto gssapi \
|
2010-10-24 11:53:55 -04:00
|
|
|
krb5 neon sasl2 sqlite3 ssl ${MODPY_WANTLIB}
|
2007-10-25 06:00:03 -04:00
|
|
|
RUN_DEPENDS-python= ${MODPY_RUN_DEPENDS}
|
2010-11-08 07:26:01 -05:00
|
|
|
LIB_DEPENDS-python= ${MODPY_LIB_DEPENDS} ${MODGETTEXT_LIB_DEPENDS} \
|
|
|
|
${MAINSPEC}
|
2011-12-04 11:06:52 -05:00
|
|
|
.for _lib in ${SVN_LIBS}
|
2010-11-15 14:45:56 -05:00
|
|
|
WANTLIB-python += ${_lib}>=${SO_VERSION}
|
2011-12-04 11:06:52 -05:00
|
|
|
.endfor
|
2006-11-24 14:52:53 -05:00
|
|
|
|
2009-09-10 11:35:04 -04:00
|
|
|
WANTLIB-ruby= ${WANTLIB} apr-1 aprutil-1 asn1 crypto gssapi \
|
2011-03-18 12:25:26 -04:00
|
|
|
krb5 m neon sasl2 sqlite3 ssl ${MODRUBY_WANTLIB}
|
2007-01-05 05:57:06 -05:00
|
|
|
RUN_DEPENDS-ruby= ${MODRUBY_RUN_DEPENDS}
|
2009-08-11 04:14:42 -04:00
|
|
|
LIB_DEPENDS-ruby= ${MODRUBY_LIB_DEPENDS} \
|
2010-11-08 07:26:01 -05:00
|
|
|
${MODGETTEXT_LIB_DEPENDS} ${MAINSPEC}
|
2011-12-04 11:06:52 -05:00
|
|
|
.for _lib in ${SVN_LIBS}
|
2010-11-15 14:45:56 -05:00
|
|
|
WANTLIB-ruby += ${_lib}>=${SO_VERSION}
|
2011-12-04 11:06:52 -05:00
|
|
|
.endfor
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2011-12-04 11:06:52 -05:00
|
|
|
.if ${FLAVOR:Mgnome_keyring}
|
2009-04-28 19:43:56 -04:00
|
|
|
SHARED_ONLY= Yes
|
2010-04-22 10:27:29 -04:00
|
|
|
MODULES+= converters/libiconv
|
2010-11-15 14:45:56 -05:00
|
|
|
LIB_DEPENDS-main += x11/dbus \
|
|
|
|
devel/glib2 \
|
|
|
|
x11/gnome/libgnome-keyring \
|
|
|
|
devel/pcre \
|
2010-11-08 07:26:01 -05:00
|
|
|
${MODGETTEXT_LIB_DEPENDS}
|
|
|
|
WANTLIB-main+= apr-1 aprutil-1 gcrypt gpg-error \
|
2010-11-15 14:45:56 -05:00
|
|
|
dbus-1>=7 glib-2.0 gnome-keyring>=6 pcre>=2
|
2009-04-28 19:43:56 -04:00
|
|
|
SHARED_LIBS+= svn_auth_gnome_keyring-1 ${SO_VERSION}
|
|
|
|
# gnome-keyring depends on dbus depends on pthread, so svn won't be able
|
2009-09-10 11:35:04 -04:00
|
|
|
# to load libsvn_auth_gnome_keyring without the main executable being compiled
|
|
|
|
# and linked with -pthread. We want to avoid this as it causes problems with
|
|
|
|
# our current threading implementation (which has to force stdin/stdout to
|
|
|
|
# be non-blocking). As this affects -main it must be a FLAVOR.
|
2009-04-28 19:43:56 -04:00
|
|
|
WANTLIB-main+= pthread
|
|
|
|
CFLAGS+= -pthread
|
|
|
|
.endif
|
|
|
|
|
2008-11-02 15:43:49 -05:00
|
|
|
MAKE_FLAGS= MAKE=${MAKE_PROGRAM}
|
2005-11-04 04:42:31 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2011-05-02 13:13:33 -04:00
|
|
|
AUTOCONF_VERSION=2.64
|
2010-04-23 14:05:26 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2011-10-13 07:22:58 -04:00
|
|
|
CONFIGURE_ENV= PYTHON2=${MODPY_BIN} MKDIR="/bin/mkdir -p"
|
2006-09-30 02:23:58 -04:00
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
2009-04-28 19:43:56 -04:00
|
|
|
--with-sasl=${LOCALBASE} \
|
2008-11-02 15:43:49 -05:00
|
|
|
--without-jikes \
|
2011-10-13 07:22:58 -04:00
|
|
|
--without-jdk \
|
|
|
|
--with-libmagic=${LOCALBASE}
|
2011-12-04 11:06:52 -05:00
|
|
|
|
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
|
|
|
|
.if ${BUILD_PACKAGES:M-ruby} || ${BUILD_PACKAGES:M-perl} || ${BUILD_PACKAGES:M-python}
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= devel/swig>=1.3.36
|
2008-11-02 15:43:49 -05:00
|
|
|
CONFIGURE_ARGS+=--with-swig
|
2004-12-01 11:47:54 -05:00
|
|
|
.else
|
2008-11-02 15:43:49 -05:00
|
|
|
CONFIGURE_ARGS+=--without-swig
|
2004-12-01 11:47:54 -05:00
|
|
|
.endif
|
|
|
|
|
2011-12-04 11:06:52 -05:00
|
|
|
.if ${BUILD_PACKAGES:M-ruby}
|
|
|
|
MODULES+= lang/ruby
|
|
|
|
CONFIGURE_ENV+= RUBY=ruby${MODRUBY_BINREV} RDOC=rdoc${MODRUBY_BINREV}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${BUILD_PACKAGES:M-ap2}
|
2008-11-02 15:43:49 -05:00
|
|
|
CONFIGURE_ARGS+=--with-apxs=${LOCALBASE}/sbin/apxs2 \
|
|
|
|
--disable-mod-activation
|
2011-12-04 11:06:52 -05:00
|
|
|
BUILD_DEPENDS+= www/apache-httpd
|
2007-04-11 09:26:36 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-apxs
|
|
|
|
.endif
|
|
|
|
|
2010-07-22 05:09:34 -04:00
|
|
|
REGRESS_DEPENDS=${MODPY_RUN_DEPENDS}
|
2009-04-28 19:43:56 -04:00
|
|
|
SUBST_VARS+= LOCALBASE SO_VERSION
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2008-11-02 15:43:49 -05:00
|
|
|
pre-patch:
|
|
|
|
@ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
|
2005-11-04 04:42:31 -05:00
|
|
|
|
2008-11-02 15:43:49 -05:00
|
|
|
pre-configure:
|
2009-04-28 19:43:56 -04:00
|
|
|
@${SUBST_CMD} ${WRKSRC}/Makefile.in ${WRKSRC}/configure.ac \
|
|
|
|
${WRKSRC}/subversion/libsvn_subr/auth.c
|
2008-11-02 15:43:49 -05:00
|
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} ./autogen.sh
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2011-12-04 11:06:52 -05:00
|
|
|
.if ${FLAVOR:Mgnome_keyring}
|
2009-08-25 06:26:20 -04:00
|
|
|
CONFIGURE_ARGS+=--with-gnome-keyring
|
|
|
|
.endif
|
|
|
|
|
2011-12-04 11:06:52 -05:00
|
|
|
.if ${BUILD_PACKAGES:M-python}
|
|
|
|
REGRESS_DEPENDS+= ${FULLPKGNAME-python}:${BUILD_PKGPATH},-python
|
|
|
|
|
|
|
|
.if ${BUILD_PACKAGES:M-ruby}
|
|
|
|
REGRESS_DEPENDS+= ${FULLPKGNAME-ruby}:${BUILD_PKGPATH},-ruby
|
|
|
|
.endif
|
2006-04-15 06:27:38 -04:00
|
|
|
|
2008-11-02 15:43:49 -05:00
|
|
|
pre-build:
|
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} clean-swig
|
2008-12-27 14:20:36 -05:00
|
|
|
.endif
|
2008-11-02 15:43:49 -05:00
|
|
|
|
2007-01-05 05:57:06 -05:00
|
|
|
post-build:
|
2011-12-04 11:06:52 -05:00
|
|
|
.if ${BUILD_PACKAGES:M-python}
|
2006-01-06 20:10:11 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} swig-py
|
2011-12-04 11:06:52 -05:00
|
|
|
.endif
|
|
|
|
.if ${BUILD_PACKAGES:M-perl}
|
2006-01-06 20:10:11 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} swig-pl
|
2011-12-04 11:06:52 -05:00
|
|
|
.endif
|
|
|
|
.if ${BUILD_PACKAGES:M-ruby}
|
2006-11-29 03:52:38 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} swig-rb
|
2008-12-27 14:20:36 -05:00
|
|
|
.endif
|
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} svnmucc
|
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} svnauthz-validate
|
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} svn-populate-node-origins-index
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2006-07-15 12:55:32 -04:00
|
|
|
do-regress:
|
2006-01-06 20:10:11 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
2008-01-04 13:38:51 -05:00
|
|
|
${ALL_REGRESS_FLAGS} check FS_TYPE=bdb
|
2006-07-15 12:55:32 -04:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
2008-01-04 13:38:51 -05:00
|
|
|
${ALL_REGRESS_FLAGS} check FS_TYPE=fsfs
|
2011-12-04 11:06:52 -05:00
|
|
|
.if ${BUILD_PACKAGES:M-perl}
|
2006-01-06 20:10:11 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
2008-01-04 13:38:51 -05:00
|
|
|
${ALL_REGRESS_FLAGS} TMPDIR=${WRKBUILD} check-swig-pl
|
2011-12-04 11:06:52 -05:00
|
|
|
.endif
|
|
|
|
.if ${BUILD_PACKAGES:M-python}
|
2006-04-15 06:27:38 -04:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
2008-01-04 13:38:51 -05:00
|
|
|
${ALL_REGRESS_FLAGS} check-swig-py
|
2011-12-04 11:06:52 -05:00
|
|
|
.endif
|
|
|
|
.if ${BUILD_PACKAGES:M-ruby}
|
2006-11-29 03:52:38 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
2008-01-04 13:38:51 -05:00
|
|
|
${ALL_REGRESS_FLAGS} check-swig-rb
|
2004-12-01 11:47:54 -05:00
|
|
|
.endif
|
|
|
|
|
2005-10-02 05:02:05 -04:00
|
|
|
post-install:
|
2011-12-04 11:06:52 -05:00
|
|
|
.if ${BUILD_PACKAGES:M-python}
|
2006-01-06 20:10:11 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
2008-01-04 12:48:33 -05:00
|
|
|
${ALL_FAKE_FLAGS} install-swig-py
|
2011-12-04 11:06:52 -05:00
|
|
|
.endif
|
|
|
|
.if ${BUILD_PACKAGES:M-perl}
|
2006-01-06 20:10:11 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
2008-01-04 12:48:33 -05:00
|
|
|
${ALL_FAKE_FLAGS} install-swig-pl
|
2011-12-04 11:06:52 -05:00
|
|
|
.endif
|
|
|
|
.if ${BUILD_PACKAGES:M-ruby}
|
2006-11-29 03:52:38 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
2008-01-04 12:48:33 -05:00
|
|
|
${ALL_FAKE_FLAGS} install-swig-rb
|
2005-10-02 05:02:05 -04:00
|
|
|
.endif
|
2008-12-27 14:20:36 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/
|
2009-08-25 06:26:20 -04:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/servers \
|
|
|
|
${PREFIX}/share/examples/subversion/servers
|
2008-12-27 14:20:36 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/client-side
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/server-side
|
2005-10-02 05:02:05 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/hook-scripts
|
2008-12-27 14:20:36 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/cgi
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/client-side/emacs
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/client-side/svn2cl
|
2009-10-27 05:06:13 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/client-side/svn_load_dirs
|
2005-10-02 05:02:05 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/hook-scripts/mailer
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/hook-scripts/mailer/tests
|
2006-09-30 02:23:58 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/hook-scripts/enforcer
|
2008-12-27 14:20:36 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/server-side/mod_dontdothat
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/xslt
|
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${ALL_FAKE_FLAGS} install-tools
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/backup
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/bdb
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/xslt
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/tools/backup/hot-backup.py \
|
|
|
|
${PREFIX}/share/examples/subversion/backup
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/bdb/* \
|
|
|
|
${PREFIX}/share/examples/subversion/bdb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/examples/* \
|
|
|
|
${PREFIX}/share/examples/subversion
|
|
|
|
.for _script in ${TOOLS_CLIENT_SIDE_SCRIPTS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/client-side/${_script} \
|
|
|
|
${PREFIX}/share/examples/subversion/client-side
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/server-side/fsfs-reshard.py \
|
|
|
|
${PREFIX}/share/examples/subversion/server-side
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/server-side/svn-backup-dumps.py \
|
|
|
|
${PREFIX}/share/examples/subversion/server-side
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/server-side/svn-populate-node-origins-index.c \
|
|
|
|
${PREFIX}/share/examples/subversion/server-side
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/xslt/* \
|
|
|
|
${PREFIX}/share/examples/subversion/xslt
|
|
|
|
.for _hook_script in ${TOOLS_HOOK_SCRIPTS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/${_hook_script} \
|
2008-11-02 15:43:49 -05:00
|
|
|
${PREFIX}/share/examples/subversion/hook-scripts/
|
|
|
|
.endfor
|
2008-12-27 14:20:36 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer/mailer.conf.example \
|
|
|
|
${PREFIX}/share/examples/subversion/hook-scripts/mailer
|
2005-10-02 05:02:05 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer/mailer.conf.example \
|
|
|
|
${PREFIX}/share/examples/subversion/hook-scripts/mailer
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer/mailer.py \
|
|
|
|
${PREFIX}/share/examples/subversion/hook-scripts/mailer
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer/tests/* \
|
|
|
|
${PREFIX}/share/examples/subversion/hook-scripts/mailer/tests
|
2008-11-02 15:43:49 -05:00
|
|
|
find ${PREFIX}/share/examples/subversion -type f | xargs perl -pi \
|
|
|
|
-e "s,.*/usr/bin/python.*,#!${MODPY_BIN},;" \
|
|
|
|
-e "s,.*env python.*,#!${MODPY_BIN},;"
|
2008-12-27 14:20:36 -05:00
|
|
|
find ${PREFIX}/share/examples/subversion -type f -name '*\.orig' \
|
|
|
|
-exec rm -f {} \;
|
2005-10-02 05:02:05 -04:00
|
|
|
|
2004-12-01 11:47:54 -05:00
|
|
|
.include <bsd.port.mk>
|