aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/fmirror/Makefile
blob: 81d70a9d1982fd530e8725a81606c5717e6dff7f (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
# New ports collection makefile for:    fmirror
# Date created:             26 June 2002
# Whom:                 Xavier Beaudouin <kiwi@oav.net>
#
# $FreeBSD$
#

PORTNAME=   fmirror
PORTVERSION=    0.8.4
PORTREVISION=   3
CATEGORIES= ftp
MASTER_SITES=   ftp://ftp.guardian.no/pub/free/ftp/fmirror/ \
        ftp://ftp.oav.net/pkg_freebsd/distfiles/

MAINTAINER= kiwi@oav.net
COMMENT=    Program for mirroring files and directories from a remote FTP server

GNU_CONFIGURE=  yes

MAN1=       fmirror.1

do-install:
    cd ${WRKSRC} && \
        ${INSTALL_PROGRAM} fmirror ${PREFIX}/bin && \
        ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR} && \
    cd ${WRKSRC} && \
        ${INSTALL_DATA} ChangeLog README ${DOCSDIR} && \
    cd ${WRKSRC}/configs && \
        ${INSTALL_DATA} generic.conf redhat.conf sample.conf ${DOCSDIR}
.endif

.include <bsd.port.mk>