aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/mirror/Makefile
blob: e91da6bf9a0f0905d49213c524b1f196b922b3ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    mirror
# Date created:     15 May 1995
# Whom:         torstenb
#
# $FreeBSD$
#

PORTNAME=   mirror
PORTVERSION=    2.9
PORTREVISION=   2
CATEGORIES= ftp
MASTER_SITES=   ftp://sunsite.ualberta.ca/pub/Mirror/mirror/ \
        http://komquats.com/distfiles/ \
        ${MASTER_SITE_LOCAL}/cy/

PATCH_SITES=    ${MASTER_SITES}
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

USE_PERL5=  yes
NO_WRKSUBDIR=   yes
MAKEFILE=   makefile
MAN1=       mirror.1 mirror-master.1

pre-install:
    @${MKDIR} ${PREFIX}/lib/mirror

.include <bsd.port.mk>