File:  [cvs.NetBSD.org] / pkgsrc / net / mirror / Makefile
Revision 1.37: download - view: text, annotated - select for diffs
Tue Oct 23 17:18:37 2012 UTC (12 years, 1 month ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.37 2012/10/23 17:18:37 asau Exp $

DISTNAME=	mirror-2.9
PKGREVISION=	4
CATEGORIES=	net
MASTER_SITES=	# ftp://src.doc.ic.ac.uk/computing/archiving/mirror/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.sunsite.org.uk/packages/mirror/
COMMENT=	Mirror packages on remote sites
LICENSE=	mit

WRKSRC=		${WRKDIR}
MAKE_FILE=	makefile
MAKE_FLAGS+=	GRP=${BINGRP}

USE_TOOLS+=	perl:run
REPLACE_PERL=	do_unlinks.pl mirror.pl mm.pl pkgs_to_mmin.pl

CONF_FILES+=	${PREFIX}/lib/mirror/mirror.defaults.dist \
		${PREFIX}/lib/mirror/mirror.defaults

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

INSTALLATION_DIRS+=	bin lib/mirror ${PKGMANDIR}/man1

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>