2010-02-11 23:04:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.33 2010/02/11 22:08:58 joerg Exp $
|
1997-10-27 05:51:39 +01:00
|
|
|
|
2000-03-27 00:33:17 +02:00
|
|
|
DISTNAME= mirror-2.9
|
2006-02-19 16:55:33 +01:00
|
|
|
PKGREVISION= 2
|
1997-10-27 05:51:39 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://src.doc.ic.ac.uk/computing/archiving/mirror/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-04 23:53:15 +02:00
|
|
|
HOMEPAGE= http://www.sunsite.org.uk/packages/mirror/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Mirror packages on remote sites
|
1997-10-27 05:51:39 +01:00
|
|
|
|
2010-02-11 23:04:09 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= makefile
|
2006-10-04 23:20:40 +02:00
|
|
|
MAKE_FLAGS+= GRP=${BINGRP}
|
1997-10-27 05:51:39 +01:00
|
|
|
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2001-10-26 13:35:03 +02:00
|
|
|
REPLACE_PERL= do_unlinks.pl mirror.pl mm.pl pkgs_to_mmin.pl
|
1999-12-28 19:15:43 +01:00
|
|
|
|
2006-02-19 16:55:33 +01:00
|
|
|
CONF_FILES+= ${PREFIX}/lib/mirror/mirror.defaults.dist \
|
|
|
|
${PREFIX}/lib/mirror/mirror.defaults
|
|
|
|
|
2007-03-01 20:33:39 +01:00
|
|
|
SUBST_CLASSES+= prefix
|
|
|
|
SUBST_SED.prefix= -e 's:!!PREFIX!!:${PREFIX}:g'
|
|
|
|
SUBST_FILES.prefix= mirror.pl mm.pl
|
|
|
|
SUBST_MESSAGE.prefix= Fixing hardcoded installation prefix.
|
|
|
|
SUBST_STAGE.prefix= pre-configure
|
2002-05-07 15:26:32 +02:00
|
|
|
|
2010-02-11 23:04:09 +01:00
|
|
|
INSTALLATION_DIRS+= bin lib/mirror ${PKGMANDIR}/man1
|
1997-10-27 05:51:39 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|