mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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
This commit is contained in:
parent
ab88d796d0
commit
e2015552aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38023
38
misc/42upgrade/Makefile
Normal file
38
misc/42upgrade/Makefile
Normal file
@ -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>
|
1
misc/42upgrade/pkg-comment
Normal file
1
misc/42upgrade/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A convenience package to upgrade your 4.2 system to 4-stable for ports
|
5
misc/42upgrade/pkg-descr
Normal file
5
misc/42upgrade/pkg-descr
Normal file
@ -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
|
5
misc/42upgrade/pkg-install
Normal file
5
misc/42upgrade/pkg-install
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
if [ "$2" != "PRE-INSTALL" ]; then
|
||||
exit 0
|
||||
fi
|
||||
echo %%VERSION%% > /var/db/port.mkversion
|
1
misc/42upgrade/pkg-plist
Normal file
1
misc/42upgrade/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
@comment this plist intentionally left empty
|
5
misc/42upgrade/pkg-req
Normal file
5
misc/42upgrade/pkg-req
Normal 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
|
@ -11,6 +11,7 @@
|
||||
SUBDIR += 34upgrade
|
||||
SUBDIR += 40upgrade
|
||||
SUBDIR += 41upgrade
|
||||
SUBDIR += 42upgrade
|
||||
SUBDIR += 44bsd-more
|
||||
SUBDIR += Howto
|
||||
SUBDIR += achievo
|
||||
|
Loading…
Reference in New Issue
Block a user