diff options
author | knu <knu@FreeBSD.org> | 2007-04-09 17:58:59 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2007-04-09 17:58:59 +0800 |
commit | 6e11896b9705689b9f78e94e8fd8465c3b6164e3 (patch) | |
tree | e33134fdc651eec85cef06051b8eff46a94a2ac3 /devel | |
parent | 8cce27bf3d06fcf7837037995754031fb782e029 (diff) | |
download | freebsd-ports-gnome-6e11896b9705689b9f78e94e8fd8465c3b6164e3.tar.gz freebsd-ports-gnome-6e11896b9705689b9f78e94e8fd8465c3b6164e3.tar.zst freebsd-ports-gnome-6e11896b9705689b9f78e94e8fd8465c3b6164e3.zip |
Add svn_load_dirs, a Perl script to load directories into a Subversion
repository.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/svn_load_dirs/Makefile | 46 | ||||
-rw-r--r-- | devel/svn_load_dirs/distinfo | 3 | ||||
-rw-r--r-- | devel/svn_load_dirs/pkg-descr | 9 | ||||
-rw-r--r-- | devel/svn_load_dirs/pkg-plist | 5 |
5 files changed, 64 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index cd4bffe33e19..1f0e07e376cd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2093,6 +2093,7 @@ SUBDIR += subversive SUBDIR += sunterlib SUBDIR += svk + SUBDIR += svn_load_dirs SUBDIR += svndelta SUBDIR += svnkit SUBDIR += swig11 diff --git a/devel/svn_load_dirs/Makefile b/devel/svn_load_dirs/Makefile new file mode 100644 index 000000000000..df0752f08fd7 --- /dev/null +++ b/devel/svn_load_dirs/Makefile @@ -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> diff --git a/devel/svn_load_dirs/distinfo b/devel/svn_load_dirs/distinfo new file mode 100644 index 000000000000..f64ee2cd66f9 --- /dev/null +++ b/devel/svn_load_dirs/distinfo @@ -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 diff --git a/devel/svn_load_dirs/pkg-descr b/devel/svn_load_dirs/pkg-descr new file mode 100644 index 000000000000..8c367a401b3a --- /dev/null +++ b/devel/svn_load_dirs/pkg-descr @@ -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 diff --git a/devel/svn_load_dirs/pkg-plist b/devel/svn_load_dirs/pkg-plist new file mode 100644 index 000000000000..64f0aea62f45 --- /dev/null +++ b/devel/svn_load_dirs/pkg-plist @@ -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%% |