diff options
author | asami <asami@FreeBSD.org> | 2001-02-06 06:46:43 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2001-02-06 06:46:43 +0000 |
commit | 7be7ef6ecd3478e42551c9957284aafd58739b4d (patch) | |
tree | aa5ab3dd8db0ae0dbb23fc28438dd4797f18995b /misc | |
parent | b60d3c6d38b241c4ef9baa676233d16a305849a7 (diff) | |
download | FreeBSD-ports-7be7ef6ecd3478e42551c9957284aafd58739b4d.zip FreeBSD-ports-7be7ef6ecd3478e42551c9957284aafd58739b4d.tar.gz |
Add 42upgrade. There are no files listed yet, but 4.2R users can use this
to track the port.mkversion change.
Requested on: the ports list
Diffstat (limited to 'misc')
-rw-r--r-- | misc/42upgrade/Makefile | 38 | ||||
-rw-r--r-- | misc/42upgrade/pkg-comment | 1 | ||||
-rw-r--r-- | misc/42upgrade/pkg-descr | 5 | ||||
-rw-r--r-- | misc/42upgrade/pkg-install | 5 | ||||
-rw-r--r-- | misc/42upgrade/pkg-plist | 1 | ||||
-rw-r--r-- | misc/42upgrade/pkg-req | 5 | ||||
-rw-r--r-- | misc/Makefile | 1 |
7 files changed, 56 insertions, 0 deletions
diff --git a/misc/42upgrade/Makefile b/misc/42upgrade/Makefile new file mode 100644 index 0000000..8c50e19 --- /dev/null +++ b/misc/42upgrade/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: 4.2R to 4-stable upgrade kit +# Date created: 5 Feb 2000 +# Whom: asami +# +# $FreeBSD$ +# + +PORTNAME= 42upgrade +PORTVERSION= 2000.02.05 +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} < 420000 || ${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 +MANPREFIX= ${PREFIX}usr/share +MANCOMPRESSED= maybe + +do-install: + ${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/pkg-install \ + > ${PKGINSTALL} + +deinstall: + @${ECHO} "You can't delete this port." + @${FALSE} + +.include <bsd.port.post.mk> diff --git a/misc/42upgrade/pkg-comment b/misc/42upgrade/pkg-comment new file mode 100644 index 0000000..5a09107 --- /dev/null +++ b/misc/42upgrade/pkg-comment @@ -0,0 +1 @@ +A convenience package to upgrade your 4.2 system to 4-stable for ports diff --git a/misc/42upgrade/pkg-descr b/misc/42upgrade/pkg-descr new file mode 100644 index 0000000..7b5dcb9 --- /dev/null +++ b/misc/42upgrade/pkg-descr @@ -0,0 +1,5 @@ +This package will allow you to upgrade your 4.2R system to +4-stable, so you can compile and use all ports in ports-current. + +Satoshi +asami@freebsd.org diff --git a/misc/42upgrade/pkg-install b/misc/42upgrade/pkg-install new file mode 100644 index 0000000..8ed8de6 --- /dev/null +++ b/misc/42upgrade/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/42upgrade/pkg-plist b/misc/42upgrade/pkg-plist new file mode 100644 index 0000000..549a621 --- /dev/null +++ b/misc/42upgrade/pkg-plist @@ -0,0 +1 @@ +@comment this plist intentionally left empty diff --git a/misc/42upgrade/pkg-req b/misc/42upgrade/pkg-req new file mode 100644 index 0000000..1eb81c6 --- /dev/null +++ b/misc/42upgrade/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 diff --git a/misc/Makefile b/misc/Makefile index f3c423e..c8832cd 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -11,6 +11,7 @@ SUBDIR += 34upgrade SUBDIR += 40upgrade SUBDIR += 41upgrade + SUBDIR += 42upgrade SUBDIR += 44bsd-more SUBDIR += Howto SUBDIR += achievo |