ports/52227: New port: p5-File-NCopy copies files or directories
Alex Kapranoff
alex at kapranoff.ru
Wed May 14 13:10:19 UTC 2003
>Number: 52227
>Category: ports
>Synopsis: New port: p5-File-NCopy copies files or directories
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed May 14 06:10:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Alex Kapranoff
>Release: FreeBSD 4.8-STABLE i386
>Organization:
IN-LINE Technologies
>Environment:
System: FreeBSD capsule.domain 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon May 5 17:10:30 MSD 2003 root at capsule.domain:/usr/obj/usr/src/sys/CAPSULE i386
>Description:
File::NCopy::copy copies files to directories, or a single file to
another file. You can also use a reference to a file handle if you
wish whem doing a file to file copy. The functionality is very similar
to cp. If the argument is a directory to directory copy and the recur-
sive flag is set then it is done recursively like cp -R.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-File-NCopy/
# p5-File-NCopy/Makefile
# p5-File-NCopy/distinfo
# p5-File-NCopy/pkg-descr
# p5-File-NCopy/pkg-plist
#
echo c - p5-File-NCopy/
mkdir -p p5-File-NCopy/ > /dev/null 2>&1
echo x - p5-File-NCopy/Makefile
sed 's/^X//' >p5-File-NCopy/Makefile << 'END-of-p5-File-NCopy/Makefile'
X# New ports collection makefile for: p5-File-NCopy
X# Date created: May 14th 2003
X# Whom: Alex Kapranoff <alex at kapranoff.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= File-NCopy
XPORTVERSION= 0.32
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= File
XPKGNAMEPREFIX= p5-
XDISTNAME= ${PORTNAME}${PORTVERSION}
X
XMAINTAINER= ports at freebsd.org
XCOMMENT= Perl5 module to copy files
X
XPERL_CONFIGURE= yes
X
XINSTALL_TARGET= pure_install
X
XMAN3= File::NCopy.3
XMAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-File-NCopy/Makefile
echo x - p5-File-NCopy/distinfo
sed 's/^X//' >p5-File-NCopy/distinfo << 'END-of-p5-File-NCopy/distinfo'
XMD5 (File-NCopy0.32.tar.gz) = 3c12a70667f50cf68719d46001ef1318
END-of-p5-File-NCopy/distinfo
echo x - p5-File-NCopy/pkg-descr
sed 's/^X//' >p5-File-NCopy/pkg-descr << 'END-of-p5-File-NCopy/pkg-descr'
XFile::NCopy::copy copies files to directories, or a single file to
Xanother file. You can also use a reference to a file handle if you
Xwish whem doing a file to file copy. The functionality is very similar
Xto cp. If the argument is a directory to directory copy and the recur-
Xsive flag is set then it is done recursively like cp -R.
END-of-p5-File-NCopy/pkg-descr
echo x - p5-File-NCopy/pkg-plist
sed 's/^X//' >p5-File-NCopy/pkg-plist << 'END-of-p5-File-NCopy/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/File/NCopy.pm
X at unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/File 2>/dev/null || true
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/NCopy/.packlist
X at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/NCopy
X at unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File 2>/dev/null|| true
END-of-p5-File-NCopy/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list