aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2002-10-28 22:20:39 +0800
committertobez <tobez@FreeBSD.org>2002-10-28 22:20:39 +0800
commita0eeee6e33a6108eacb957f9b33cf39282bcbcc6 (patch)
treed6dded0eedb512196aa2f411422a7d2052eaefba
parentaed783a075d3367e918a614692be9a624a976f43 (diff)
downloadfreebsd-ports-gnome-a0eeee6e33a6108eacb957f9b33cf39282bcbcc6.tar.gz
freebsd-ports-gnome-a0eeee6e33a6108eacb957f9b33cf39282bcbcc6.tar.zst
freebsd-ports-gnome-a0eeee6e33a6108eacb957f9b33cf39282bcbcc6.zip
Add p5-Rcs-Agent, a perl module for RCS archive manipulation.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Rcs-Agent/Makefile32
-rw-r--r--devel/p5-Rcs-Agent/distinfo1
-rw-r--r--devel/p5-Rcs-Agent/pkg-comment1
-rw-r--r--devel/p5-Rcs-Agent/pkg-descr9
-rw-r--r--devel/p5-Rcs-Agent/pkg-plist5
6 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a242f2687383..02a1c2227141 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -553,6 +553,7 @@
SUBDIR += p5-Proc-ProcessTable
SUBDIR += p5-Proc-Reliable
SUBDIR += p5-Proc-Simple
+ SUBDIR += p5-Rcs-Agent
SUBDIR += p5-ReadLine-Gnu
SUBDIR += p5-ReadLine-Perl
SUBDIR += p5-Religion
diff --git a/devel/p5-Rcs-Agent/Makefile b/devel/p5-Rcs-Agent/Makefile
new file mode 100644
index 000000000000..c0102bb5b724
--- /dev/null
+++ b/devel/p5-Rcs-Agent/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: devel/p5-Rcs-Agent
+# Date created: 28 October 2002
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Rcs-Agent
+PORTVERSION= 1.02
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Rcs
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/String/ShellQuote.pm:${PORTSDIR}/textproc/p5-String-ShellQuote \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Rcs::Agent.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+post-patch:
+ ${PERL} -pi \
+ -e 's/MkTemp/Temp/;' \
+ -e 's/^(.*)=.*mktemp.*"(.*)".*$$/$$1 = File::Temp::mktemp("\$$tmpdir\/$$2");/;' \
+ ${WRKSRC}/Agent.pm ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Rcs-Agent/distinfo b/devel/p5-Rcs-Agent/distinfo
new file mode 100644
index 000000000000..db5bb6e5246d
--- /dev/null
+++ b/devel/p5-Rcs-Agent/distinfo
@@ -0,0 +1 @@
+MD5 (Rcs-Agent-1.02.tar.gz) = 858abea7e3dabb27b8f434f59c0e2890
diff --git a/devel/p5-Rcs-Agent/pkg-comment b/devel/p5-Rcs-Agent/pkg-comment
new file mode 100644
index 000000000000..a812d3406104
--- /dev/null
+++ b/devel/p5-Rcs-Agent/pkg-comment
@@ -0,0 +1 @@
+A perl module for RCS archive manipulation
diff --git a/devel/p5-Rcs-Agent/pkg-descr b/devel/p5-Rcs-Agent/pkg-descr
new file mode 100644
index 000000000000..61b55f40de5e
--- /dev/null
+++ b/devel/p5-Rcs-Agent/pkg-descr
@@ -0,0 +1,9 @@
+Rcs::Agent is a perl module for manipulating RCS archives. It provides
+an object-oriented interface to the RCS commands rcs(1), rcsdiff(1),
+ci(1) and co(1), in addition to providing easy access to revision
+information contained in the RCS archive file.
+
+WWW: http://search.cpan.org/search?dist=Rcs-Agent
+
+-Anton
+<tobez@FreeBSD.org>
diff --git a/devel/p5-Rcs-Agent/pkg-plist b/devel/p5-Rcs-Agent/pkg-plist
new file mode 100644
index 000000000000..93bc2d22b654
--- /dev/null
+++ b/devel/p5-Rcs-Agent/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Rcs/Agent/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Rcs/Agent.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Rcs/Agent
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Rcs 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Rcs 2>/dev/null || true