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:
parent
65281e8ece
commit
51992523b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18907
35
misc/32upgrade/Makefile
Normal file
35
misc/32upgrade/Makefile
Normal 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>
|
1
misc/32upgrade/pkg-comment
Normal file
1
misc/32upgrade/pkg-comment
Normal 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
5
misc/32upgrade/pkg-descr
Normal 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
|
5
misc/32upgrade/pkg-install
Normal file
5
misc/32upgrade/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/32upgrade/pkg-plist
Normal file
1
misc/32upgrade/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
usr/bin/fetch
|
5
misc/32upgrade/pkg-req
Normal file
5
misc/32upgrade/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
|
Loading…
Reference in New Issue
Block a user