openbsd-ports/net/mirror/Makefile
lebel 02903c629c Small fixes for mirror port attached:
- Remove unnecessary MAINTAINER=ports@openbsd.org
   - Fix typo in DESCR
   - Update MASTER_SITES

from Heikki Korpela <heko@iki.fi>
2001-07-25 14:06:22 +00:00

45 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2001/07/25 14:06:22 lebel Exp $
COMMENT= "mirror packages on remote sites"
DISTNAME= mirror-2.9
CATEGORIES= net
NEED_VERSION= 1.413
MASTER_SITES= ftp://sunsite.org.uk/packages/mirror/ \
ftp://ftp.cs.columbia.edu/archives/perl/mirror/ \
ftp://giswitch.sggw.waw.pl/pub/unix/mirror/ \
ftp://SunSITE.sut.ac.jp/pub/archives/packages/mirror/
HOMEPAGE= http://sunsite.org.uk/packages/mirror/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FILE= makefile
WRKDIST= ${WRKDIR}
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
do-configure:
@-rm -f ${WRKSRC}/mirror.man
@sed -e 's,@DOCDIR@,${DOCDIR},g' < ${FILESDIR}/mirror.man \
>${WRKSRC}/mirror.man
@sed -e 's,@PREFIX@,${PREFIX},g' < ${WRKSRC}/mirror.pl \
> ${WRKSRC}/mirror
@sed -e 's,@PREFIX@,${PREFIX},g' < ${WRKSRC}/mm.pl \
> ${WRKSRC}/mirrormaster
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/mirror
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCDIR}
.include <bsd.port.mk>