diff options
author | cy <cy@FreeBSD.org> | 2014-05-30 10:14:04 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2014-05-30 10:14:04 +0800 |
commit | a32895117ed90f2a2d4bd1e2fd00dba9e059abc9 (patch) | |
tree | 4b0aa2a5ce457e893504bb26df37e32756c049d6 /ftp | |
parent | c7e56b4ff6f95da03a0d8e5c7e3df922f56dcfee (diff) | |
download | freebsd-ports-gnome-a32895117ed90f2a2d4bd1e2fd00dba9e059abc9.tar.gz freebsd-ports-gnome-a32895117ed90f2a2d4bd1e2fd00dba9e059abc9.tar.zst freebsd-ports-gnome-a32895117ed90f2a2d4bd1e2fd00dba9e059abc9.zip |
Stagify.
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/mirror/Makefile | 23 | ||||
-rw-r--r-- | ftp/mirror/files/patch-aa | 22 | ||||
-rw-r--r-- | ftp/mirror/pkg-plist | 16 |
3 files changed, 34 insertions, 27 deletions
diff --git a/ftp/mirror/Makefile b/ftp/mirror/Makefile index 3299173aa706..5a396577ee32 100644 --- a/ftp/mirror/Makefile +++ b/ftp/mirror/Makefile @@ -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 - -PLIST_DIRS= lib/mirror - -USES= perl5 +MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} + +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 + 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> diff --git a/ftp/mirror/files/patch-aa b/ftp/mirror/files/patch-aa index 8cfb9afd12cd..2022f100181d 100644 --- a/ftp/mirror/files/patch-aa +++ b/ftp/mirror/files/patch-aa @@ -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 diff --git a/ftp/mirror/pkg-plist b/ftp/mirror/pkg-plist new file mode 100644 index 000000000000..531c7a8c8271 --- /dev/null +++ b/ftp/mirror/pkg-plist @@ -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 |