31 lines
856 B
Makefile
31 lines
856 B
Makefile
# $NetBSD: Makefile,v 1.41 2016/07/09 06:38:43 wiz Exp $
|
|
|
|
DISTNAME= mirror-2.9
|
|
PKGREVISION= 8
|
|
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"
|