Supply documentation along with mirror, replace stub manpage accordingly.
This commit is contained in:
espie 2000-03-28 10:00:17 +00:00
parent 07d9ab40f2
commit 44d3355286
3 changed files with 41 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2000/03/24 22:11:52 espie Exp $
# $OpenBSD: Makefile,v 1.10 2000/03/28 10:00:17 espie Exp $
DISTNAME= mirror-2.9
CATEGORIES= net
@ -8,6 +8,8 @@ MASTER_SITES= ftp://src.doc.ic.ac.uk/computing/archiving/mirror/ \
ftp://ftp.plig.net/pub/OpenBSD/distfiles/
MAINTAINER= ports@openbsd.org
HOMEPAGE= http://sunsite.org.uk/packages/mirror/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -16,8 +18,27 @@ PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}
MAKE_FILE= makefile
FAKE= Yes
do-configure:
@-rm -f ${WRKSRC}/mirror.man
@sed -e 's,@DOCDIR@,${DOCDIR},' <${FILESDIR}/mirror.man >${WRKSRC}/mirror.man
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/mirror
DOCDIR=${PREFIX}/share/doc/mirror
DOCS= copyright.html \
index.html \
mirror-faq.html \
mirror.html \
mm.html \
quickstart.html \
mirror-on-dusk.gif \
Lake.class
post-install:
@${INSTALL_DATA_DIR} ${DOCDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
.\" $OpenBSD: mirror.man,v 1.1 2000/03/28 10:00:18 espie Exp $
.Dd July 29, 1994
.Dt LS 1
.Os
.Sh NAME
.Nm mirror
.Nd mirror packages on remote sites
.Sh DESCRIPTION
Please see the HTML documentation in
.Pa @DOCDIR@ .

View File

@ -7,6 +7,15 @@ lib/mirror/dateconv.pl
lib/mirror/ftp.pl
lib/mirror/lsparse.pl
lib/mirror/mirror.defaults.sample
share/doc/mirror/copyright.html
share/doc/mirror/index.html
share/doc/mirror/mirror-faq.html
share/doc/mirror/mirror.html
share/doc/mirror/mm.html
share/doc/mirror/quickstart.html
share/doc/mirror/mirror-on-dusk.gif
share/doc/mirror/Lake.class
@dirrm share/doc/mirror
@dirrm lib/mirror
man/man1/mirror.1
man/man1/mirrormaster.1