1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Cy Schubert 2014-05-30 02:14:04 +00:00
parent 096839c050
commit 225c4dad08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355767
3 changed files with 32 additions and 25 deletions

View File

@ -15,25 +15,16 @@ PATCHFILES= ftp.pl_wupatch
MAINTAINER= cy@FreeBSD.org
COMMENT= Mirror packages on remote sites
PLIST_FILES= bin/mirror \
bin/do_unlinks \
bin/pkgs_to_mmin \
bin/mirror-master \
lib/mirror/lchat.pl \
lib/mirror/dateconv.pl \
lib/mirror/ftp.pl \
lib/mirror/lsparse.pl \
lib/mirror/mirror.defaults.sample
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
PLIST_DIRS= lib/mirror
USES= perl5 shebangfix
SHEBANG_FILES= dateconv.pl ftp.pl lchat.pl mirror.pl pkgs_to_mmin.pl \
do_unlinks.pl install.pl lsparse.pl mm.pl prune_logs.pl
USES= perl5
NO_WRKSUBDIR= yes
MAKEFILE= makefile
MAN1= mirror.1 mirror-master.1
NO_STAGE= yes
pre-install:
@${MKDIR} ${PREFIX}/lib/mirror
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/mirror
.include <bsd.port.mk>

View File

@ -57,17 +57,17 @@
! MANDIR = ${PREFIX}/man/man1
install:
! install -c -m $(PLMODE) -g $(GRP) lchat.pl $(PLDIR)
! install -c -m $(PLMODE) -g $(GRP) dateconv.pl $(PLDIR)
! install -c -m $(PLMODE) -g $(GRP) ftp.pl $(PLDIR)
! install -c -m $(PLMODE) -g $(GRP) lsparse.pl $(PLDIR)
! install -c -m $(EXMODE) -g $(GRP) mirror.pl $(BINDIR)/mirror
! install -c -m $(EXMODE) -g $(GRP) do_unlinks.pl $(BINDIR)/do_unlinks
! install -c -m $(EXMODE) -g $(GRP) pkgs_to_mmin.pl $(BINDIR)/pkgs_to_mmin
! install -c -m $(EXMODE) -g $(GRP) mm.pl $(BINDIR)/mirror-master
! install -c -m $(PLMODE) -g $(GRP) mirror.man $(MANDIR)/mirror.1
! install -c -m $(PLMODE) -g $(GRP) mm.man $(MANDIR)/mirror-master.1
! install -c -m $(PLMODE) -g $(GRP) mirror.defaults $(PLDIR)/mirror.defaults.sample
! install -c lchat.pl $(PLDIR)
! install -c dateconv.pl $(PLDIR)
! install -c ftp.pl $(PLDIR)
! install -c lsparse.pl $(PLDIR)
! install -c mirror.pl $(BINDIR)/mirror
! install -c do_unlinks.pl $(BINDIR)/do_unlinks
! install -c pkgs_to_mmin.pl $(BINDIR)/pkgs_to_mmin
! install -c mm.pl $(BINDIR)/mirror-master
! install -c mirror.man $(MANDIR)/mirror.1
! install -c mm.man $(MANDIR)/mirror-master.1
! install -c mirror.defaults $(PLDIR)/mirror.defaults.sample
# directory to install .pl (perl library) files for rperl
RPLDIR = /usr/local/rperl5/lib/perl5

16
ftp/mirror/pkg-plist Normal file
View File

@ -0,0 +1,16 @@
@mode 755
@owner root
@group bin
bin/mirror
bin/do_unlinks
bin/pkgs_to_mmin
bin/mirror-master
@mode 644
lib/mirror/lchat.pl
lib/mirror/dateconv.pl
lib/mirror/ftp.pl
lib/mirror/lsparse.pl
lib/mirror/mirror.defaults.sample
man/man1/mirror.1.gz
man/man1/mirror-master.1.gz
@dirrm lib/mirror