aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/omi/Makefile
blob: 762c83335dcd1ea6ed74da34bf31ef8c18c49f10 (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
# Created by: ache
# $FreeBSD$

PORTNAME=   omi
PORTVERSION=    20030719
CATEGORIES= ftp
MASTER_SITES=   http://www.secnetix.de/~olli/distfiles/ \
        ftp://ftp.nuug.no/pub/anders/distfiles/ \
        http://atreides.freenix.no/~anders/
#   http://dorifer.heim3.tu-clausthal.de/~olli/omi/

MAINTAINER= ports@FreeBSD.org
COMMENT=    "mirror" subtrees of FTP servers

WRKSRC=     ${WRKDIR}/${PORTNAME}
ALL_TARGET= freebsd

OPTIONS_DEFINE= DOCS

pre-patch:
    ${REINPLACE_CMD} -E -e "s@^(OPTFLAGS).*@\1=${CFLAGS}@" \
        ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/omi ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in README.txt README.html CHANGES BSD-COPYRIGHT
    ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>