freebsd-ports/ports-mgmt/portupgrade-devel/Makefile
Akinori MUSHA ead84ab467 Update to 20011210 which brings several usability improvements.
pkgtools.conf(5):

- Turn HOLD_PORTS into HOLD_PKGS.

- List `bsdpan-*' in HOLD_PKGS by default.

  Requested by:	Anton Berezin <tobez@tobez.org>

pkgdb(1):

- Support HOLD_PKGS and make -f/--force overrite the setting.

pkg_fetch(1):

- Dig the temporary directory and the packages directory before
  fetching.

  Requested by:	Chris Dillon <cdillon@wolves.k12.mo.us>

- Properly quote the fetch command line arguments.

portupgrade(1):

- Fix a bug that -Pf did not properly work.

  Reported by:	The Anarcat <anarcat@anarcat.dyndns.org>

- Make -p/--package build packages for the ports that are installed as
  dependency as well.

  Suggested by:	Vivek Khera <khera@kcilink.com>

- Make -p/--package build packages for those which requisite packages
  are upgraded as well, when they are given from the command line or
  -r is specified.

  Suggested by:	Vivek Khera <khera@kcilink.com>,
		Lev Serebryakov <lev@serebryakov.spb.ru>

- Do not regard a packaging error as an installation error.

- Make -Nf override HOLD_PKGS.

- Suggest specifying -f when skipping a package.

- Detect a checksum mismatch error properly from a build log.

portinstall(1): (portupgrade -N)

- Only upgrade required packages of a newly installed port when -R is
  specified.

portversion(1):

- Support HOLD_PKGS.

overall/miscellaneous:

- Introduce lazy initialization for config variables and make
  the initialization process a little bit quicker.

- Fix some typos in the manpages.

  Submitted by:	Dan Langille <dan@langille.org>,
		kuriyama@FreeBSD.org

- Add shell completion definitions for pkg_tarup(1).

- Provide a replacement of the weekly status-pkg report script
  (/etc/periodic/weekly/400.status-pkg), which is installed as
  $PREFIX/etc/pkgtools.status-pkg.sh.

port:

- Add a missing entry of pkg_which to pkg_plist.

- Do not remove the zsh site-functions directory on deinstallation
  when zsh is installed.
2001-12-10 02:43:52 +00:00

58 lines
1.4 KiB
Makefile

# New ports collection makefile for: portupgrade
# Date created: 18 March 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= portupgrade
PORTVERSION= 20011210
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
MASTER_SITE_SUBDIR= knu
DISTNAME= pkgtools-${PORTVERSION}
#PATCH_SITES= ${MASTER_SITES}
#PATCHFILES= pkgtools-${PORTVERSION}.patch.gz
MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
${RUBY_SITEARCHLIBDIR}/fnmatch.so:${PORTSDIR}/devel/ruby-fnmatch \
${RUBY_SITELIBDIR}/uri.rb:${PORTSDIR}/net/ruby-uri \
${LOCALBASE}/sbin/pkg_tarup:${PORTSDIR}/misc/pkg_tarup
USE_RUBY= yes
MAKE_ARGS= PREFIX="${PREFIX}" RUBY="${RUBY}"
MAN1= pkg_deinstall.1 \
pkg_fetch.1 \
pkg_glob.1 \
pkg_sort.1 \
pkgdb.1 \
portcvsweb.1 \
portsclean.1 \
portsdb.1 \
portupgrade.1 \
portversion.1
MAN5= pkgtools.conf.5
MLINKS= pkgdb.1 pkg_which.1 \
portupgrade.1 portinstall.1 \
portsdb.1 ports_glob.1
MANCOMPRESSED= maybe
INSTALL_TARGET= install
.if !defined(NOPORTDOCS)
INSTALL_TARGET+= install-doc
.endif
post-install:
# Remove old database
${RM} -f /var/db/pkg/pkgdb.byfile.db
if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
fi
.include <bsd.port.mk>