pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mirror Convert to pkginstall framework. Bump PKGRE...
details: https://anonhg.NetBSD.org/pkgsrc/rev/26b13a22187f
branches: trunk
changeset: 508447:26b13a22187f
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Feb 19 15:55:33 2006 +0000
description:
Convert to pkginstall framework. Bump PKGREVISION.
diffstat:
net/mirror/Makefile | 14 +++++---------
net/mirror/PLIST | 17 ++++++++---------
2 files changed, 13 insertions(+), 18 deletions(-)
diffs (61 lines):
diff -r ecc9f133ade5 -r 26b13a22187f net/mirror/Makefile
--- a/net/mirror/Makefile Sun Feb 19 15:51:25 2006 +0000
+++ b/net/mirror/Makefile Sun Feb 19 15:55:33 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2005/07/16 01:19:16 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2006/02/19 15:55:33 wiz Exp $
DISTNAME= mirror-2.9
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://src.doc.ic.ac.uk/computing/archiving/mirror/
@@ -16,6 +16,9 @@
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
+
pre-configure:
cd ${WRKSRC}; \
for i in mirror.pl mm.pl; do \
@@ -26,11 +29,4 @@
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/mirror
-post-install:
- @if [ ! -f ${PREFIX}/lib/mirror/mirror.defaults ]; then \
- ${CP} -p \
- ${PREFIX}/lib/mirror/mirror.defaults.dist \
- ${PREFIX}/lib/mirror/mirror.defaults; \
- fi
-
.include "../../mk/bsd.pkg.mk"
diff -r ecc9f133ade5 -r 26b13a22187f net/mirror/PLIST
--- a/net/mirror/PLIST Sun Feb 19 15:51:25 2006 +0000
+++ b/net/mirror/PLIST Sun Feb 19 15:55:33 2006 +0000
@@ -1,14 +1,13 @@
-@comment $NetBSD: PLIST,v 1.3 2002/12/09 16:01:35 tron Exp $
-bin/mirror
+@comment $NetBSD: PLIST,v 1.4 2006/02/19 15:55:33 wiz Exp $
bin/do_unlinks
+bin/mirror
+bin/mirrormaster
bin/pkgs_to_mmin
-bin/mirrormaster
+lib/mirror/dateconv.pl
+lib/mirror/ftp.pl
+lib/mirror/lchat.pl
+lib/mirror/lsparse.pl
+lib/mirror/mirror.defaults.dist
man/man1/mirror.1.gz
man/man1/mirrormaster.1.gz
-lib/mirror/lchat.pl
-lib/mirror/dateconv.pl
-lib/mirror/ftp.pl
-lib/mirror/lsparse.pl
-lib/mirror/mirror.defaults.dist
-@exec if [ ! -f %D/lib/mirror/mirror.defaults ]; then cp -p %D/lib/mirror/mirror.defaults.dist %D/lib/mirror/mirror.defaults; fi
@unexec ${RMDIR} %D/lib/mirror 2>/dev/null || ${TRUE}
Home |
Main Index |
Thread Index |
Old Index