aboutsummaryrefslogtreecommitdiffstats
path: root/misc/222upgrade/Makefile
blob: 4f4c47fbac33e1ce7d85e6ea2eaee80ef4ff8491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    2.2.2R to 2.2-stable upgrade kit
# Date created:     18 Apr 1997
# Whom:         asami
#
# $FreeBSD$
#

PORTNAME=   222upgrade
PORTVERSION=    1998.03.08
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} >= 300000
FORBIDDEN=  this needs to be built on a 2.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>