diff options
author | asami <asami@FreeBSD.org> | 1999-05-21 04:46:29 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-05-21 04:46:29 +0800 |
commit | 42084a74cd60d5cd1e781786c809d4a3f5b8d239 (patch) | |
tree | f7c6cd240efeda74aa8957ed0acb0eb1e9007cd0 /misc/32upgrade | |
parent | a529013f1a8a8ef67741970c11e2da7c00f7a050 (diff) | |
download | freebsd-ports-gnome-42084a74cd60d5cd1e781786c809d4a3f5b8d239.tar.gz freebsd-ports-gnome-42084a74cd60d5cd1e781786c809d4a3f5b8d239.tar.zst freebsd-ports-gnome-42084a74cd60d5cd1e781786c809d4a3f5b8d239.zip |
3.2R upgrade kit. (Yes, we already need one, due to a bugfix in fetch!)
Requested by: jmg
Diffstat (limited to 'misc/32upgrade')
-rw-r--r-- | misc/32upgrade/Makefile | 35 | ||||
-rw-r--r-- | misc/32upgrade/pkg-comment | 1 | ||||
-rw-r--r-- | misc/32upgrade/pkg-descr | 5 | ||||
-rw-r--r-- | misc/32upgrade/pkg-install | 5 | ||||
-rw-r--r-- | misc/32upgrade/pkg-plist | 1 | ||||
-rw-r--r-- | misc/32upgrade/pkg-req | 5 |
6 files changed, 52 insertions, 0 deletions
diff --git a/misc/32upgrade/Makefile b/misc/32upgrade/Makefile new file mode 100644 index 000000000000..b712b780bcae --- /dev/null +++ b/misc/32upgrade/Makefile @@ -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> diff --git a/misc/32upgrade/pkg-comment b/misc/32upgrade/pkg-comment new file mode 100644 index 000000000000..5da9104fd538 --- /dev/null +++ b/misc/32upgrade/pkg-comment @@ -0,0 +1 @@ +A convenience package to upgrade your 3.2 system to 3.2-stable for ports. diff --git a/misc/32upgrade/pkg-descr b/misc/32upgrade/pkg-descr new file mode 100644 index 000000000000..08494159e61b --- /dev/null +++ b/misc/32upgrade/pkg-descr @@ -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 diff --git a/misc/32upgrade/pkg-install b/misc/32upgrade/pkg-install new file mode 100644 index 000000000000..8ed8de67d62f --- /dev/null +++ b/misc/32upgrade/pkg-install @@ -0,0 +1,5 @@ +#!/bin/sh +if [ "$2" != "PRE-INSTALL" ]; then + exit 0 +fi +echo %%VERSION%% > /var/db/port.mkversion diff --git a/misc/32upgrade/pkg-plist b/misc/32upgrade/pkg-plist new file mode 100644 index 000000000000..b641c83f4500 --- /dev/null +++ b/misc/32upgrade/pkg-plist @@ -0,0 +1 @@ +usr/bin/fetch diff --git a/misc/32upgrade/pkg-req b/misc/32upgrade/pkg-req new file mode 100644 index 000000000000..1eb81c651314 --- /dev/null +++ b/misc/32upgrade/pkg-req @@ -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 |