openbsd-ports/net/mirror/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

2010-10-18 14:36:45 -04:00
# $OpenBSD: Makefile,v 1.23 2010/10/18 18:36:49 espie Exp $
COMMENT= mirror packages on remote sites
1998-01-04 13:17:05 -05:00
1998-06-10 06:26:22 -04:00
DISTNAME= mirror-2.9
REVISION= 0
1998-01-04 13:17:05 -05:00
CATEGORIES= net
2002-10-27 20:38:44 -05:00
MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/mirror/ \
http://personainternet.linux.tucows.com/files/ \
http://epix.linux.tucows.com/files/ \
ftp://sunsite.org.uk/packages/mirror/
1998-01-04 13:17:05 -05:00
HOMEPAGE= http://sunsite.org.uk/packages/mirror/
PERMIT_PACKAGE_CDROM= may not modify
PERMIT_PACKAGE_FTP= may not modify
2000-03-22 18:27:55 -05:00
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-22 12:08:31 -05:00
MAKE_FILE= makefile
WRKDIST= ${WRKDIR}
2010-10-18 14:36:45 -04:00
USE_GROFF = Yes
2002-10-27 20:38:44 -05:00
NO_REGRESS= Yes
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
1998-01-04 13:17:05 -05:00
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/mirror
1998-01-04 13:17:05 -05:00
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCDIR}
1998-01-04 13:17:05 -05:00
.include <bsd.port.mk>