New port 41upgrade, a 4.1-release to 4-stable upgrade kit.

This commit is contained in:
Satoshi Asami 2000-08-25 10:23:15 +00:00
parent 8e1e056d62
commit 4839146b4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31960
7 changed files with 54 additions and 0 deletions

36
misc/41upgrade/Makefile Normal file
View File

@ -0,0 +1,36 @@
# New ports collection makefile for: 4.1R to 4-stable upgrade kit
# Date created: 25 Aug 2000
# Whom: asami
#
# $FreeBSD$
#
PORTNAME= 41upgrade
PORTVERSION= 2000.08.25
CATEGORIES= misc
DISTFILES= # empty
MAINTAINER= asami@FreeBSD.org
.include <bsd.port.pre.mk>
.if !defined(PACKAGE_BUILDING)
BROKEN= this \"port\" is for building packages for distribution only, please get the package from http://www.freebsd.org/ports/ if you need an upgrade
.elif ${OSVERSION} < 410000 || ${OSVERSION} >= 500000
FORBIDDEN= this needs to be built on a recent 4-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
DATE!= cat /var/db/port.mkversion
do-install:
${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
deinstall:
@${ECHO} "You can't delete this port."
@${FALSE}
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
A convenience package to upgrade your 4.1 system to 4-stable for ports

5
misc/41upgrade/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
This package will allow you to upgrade your 4.1R system to
4-stable, so you can compile and use all ports in ports-current.
Satoshi
asami@freebsd.org

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/port.mkversion

1
misc/41upgrade/pkg-plist Normal file
View File

@ -0,0 +1 @@
etc/mtree/BSD.x11-4.dist

5
misc/41upgrade/pkg-req Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ $2 = "DEINSTALL" ]; then
echo "Package $1 cannot be removed -- to do so will render your system useless."
exit 1
fi

View File

@ -10,6 +10,7 @@
SUBDIR += 32upgrade
SUBDIR += 34upgrade
SUBDIR += 40upgrade
SUBDIR += 41upgrade
SUBDIR += 44bsd-more
SUBDIR += Howto
SUBDIR += aclgen