1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

3.2R upgrade kit. (Yes, we already need one, due to a bugfix in fetch!)

Requested by:	jmg
This commit is contained in:
Satoshi Asami 1999-05-20 20:46:29 +00:00
parent 65281e8ece
commit 51992523b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18907
6 changed files with 52 additions and 0 deletions

35
misc/32upgrade/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: 3.2R to 3-stable upgrade kit
# Version required: n/a
# Date created: 20 May 1999
# Whom: asami
#
# $Id$
#
DISTNAME= 32upgrade-1999.05.20
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} < 320000
FORBIDDEN= this needs to be built on a 3.2-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
do-install:
${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${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 3.2 system to 3.2-stable for ports.

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

@ -0,0 +1,5 @@
This package will allow you to upgrade your 3.2R system to
3.2-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/32upgrade/pkg-plist Normal file
View File

@ -0,0 +1 @@
usr/bin/fetch

5
misc/32upgrade/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