aboutsummaryrefslogtreecommitdiff
path: root/ftp/omi/Makefile
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2004-06-03 10:03:58 +0000
committerAnders Nordby <anders@FreeBSD.org>2004-06-03 10:03:58 +0000
commit5a26fbd255d1db4e15ff4e7812ad5617282586ed (patch)
tree8132c0864f2d28b9da0916d08353809ce7ca39fc /ftp/omi/Makefile
parent73f024789f55f18dfc2f27733916782b259b507c (diff)
downloadports-5a26fbd255d1db4e15ff4e7812ad5617282586ed.tar.gz
ports-5a26fbd255d1db4e15ff4e7812ad5617282586ed.zip
Notes
Diffstat (limited to 'ftp/omi/Makefile')
-rw-r--r--ftp/omi/Makefile28
1 files changed, 18 insertions, 10 deletions
diff --git a/ftp/omi/Makefile b/ftp/omi/Makefile
index aa75c53e56a7..65677f71e08e 100644
--- a/ftp/omi/Makefile
+++ b/ftp/omi/Makefile
@@ -6,25 +6,33 @@
#
PORTNAME= omi
-PORTVERSION= a9
+PORTVERSION= 20030719
CATEGORIES= ftp
-MASTER_SITES= ftp://ftp.nuug.no/pub/anders/distfiles/ \
+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/
-DISTNAME= omi-alpha-9
-MAINTAINER= anders@FreeBSD.org
+MAINTAINER= anders@FreeBSD.org
COMMENT= "mirror" subtrees of FTP servers
+USE_REINPLACE= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= freebsd
+pre-patch:
+ ${REINPLACE_CMD} -E -e "s@^(OPTFLAGS).*@\1=${CFLAGS}@" \
+ ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/omi ${PREFIX}/bin
- ${INSTALL} -d -m 755 -o ${DOCOWN} -g ${DOCGRP} \
- ${PREFIX}/share/doc/omi
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/omi
- ${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/doc/omi
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/omi
- ${INSTALL_DATA} ${WRKSRC}/BSD-COPYRIGHT ${PREFIX}/share/doc/omi
+.if !defined(NOPORTDOCS)
+ ${INSTALL} -d -m 755 -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/BSD-COPYRIGHT ${DOCSDIR}/
+.endif
.include <bsd.port.mk>