1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add svn_load_dirs, a Perl script to load directories into a Subversion

repository.
This commit is contained in:
Akinori MUSHA 2007-04-09 09:58:59 +00:00
parent edf4695436
commit c1405d1c83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189549
5 changed files with 64 additions and 0 deletions

View File

@ -2093,6 +2093,7 @@
SUBDIR += subversive
SUBDIR += sunterlib
SUBDIR += svk
SUBDIR += svn_load_dirs
SUBDIR += svndelta
SUBDIR += svnkit
SUBDIR += swig11

View File

@ -0,0 +1,46 @@
# New ports collection makefile for: svn_load_dirs
# Date created: 9 April 2007
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
PORTNAME= svn_load_dirs
PORTVERSION= 1.4.3
CATEGORIES= devel
MASTER_SITES= http://subversion.tigris.org/downloads/
DISTNAME= subversion-${DISTVERSION}
DIST_SUBDIR= subversion
MAINTAINER= knu@freebsd.org
COMMENT= A Perl script to load directories into a Subversion repository
RUN_DEPENDS= ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion
USE_BZIP2= yes
USE_PERL5= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/contrib/client-side
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
.endif
do-build:
${SED} -E \
-e 's|^(#!)/usr/bin/perl[[:>:]]|\1${PERL}|g' \
-e 's|@SVN_BINDIR@|${LOCALBASE}/bin|g' \
${WRKSRC}/svn_load_dirs.pl.in > ${WRKSRC}/svn_load_dirs.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/svn_load_dirs.pl ${PREFIX}/bin/svn_load_dirs
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/svn_load_dirs_property_table.example ${EXAMPLESDIR}/
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/svn_load_dirs.README ${DOCSDIR}/
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (subversion/subversion-1.4.3.tar.bz2) = de0e792c9804c7bce397d267af5eb30d
SHA256 (subversion/subversion-1.4.3.tar.bz2) = 8260a2d3a67c5cebc100e7662f81679582c0f05a2a28260e235bdf051e72aee3
SIZE (subversion/subversion-1.4.3.tar.bz2) = 4721031

View File

@ -0,0 +1,9 @@
This Perl script is designed to load a number of directories into
Subversion. This is useful if you have a number of .zip's or
tar.{Z,gz,bz2}'s for a particular package and want to load them into
Subversion.
This script is part of the Subversion distribution and it is assumed
that it can be used under the same license terms as Subversion itself.
WWW: http://subversion.tigris.org/tools_contrib.html#client_side

View File

@ -0,0 +1,5 @@
bin/svn_load_dirs
%%PORTDOCS%%%%EXAMPLESDIR%%/svn_load_dirs_property_table.example
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/svn_load_dirs.README
%%PORTDOCS%%@dirrm %%DOCSDIR%%