forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (29 loc) · 882 Bytes
/
Makefile
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
# 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= [email protected]
COMMENT= "mirror" subtrees of FTP servers
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/BSD-COPYRIGHT
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= freebsd
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.txt README.html CHANGES
OPTIONS_DEFINE= DOCS
pre-patch:
@${REINPLACE_CMD} -E -e "s@^(OPTFLAGS).*@\1=${CFLAGS}@" \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/omi ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>