freebsd-ports/misc/221upgrade/Makefile
Satoshi Asami ff9f1c323f (1) Move /var/db/pkg/.mkversion to /var/db/port.mkversion.
Requested by:	jkh

(2) Don't let user pkg_delete the "upgrade kits".
Requested by:	Toshihiko Kodama <kodama@ayame.mfd.cs.fujitsu.co.jp>
1999-04-21 04:59:59 +00:00

36 lines
862 B
Makefile

# New ports collection makefile for: 2.2.1R to 2.2-stable upgrade kit
# Version required: n/a
# Date created: 18 Apr 1997
# Whom: asami
#
# $Id: Makefile,v 1.5 1999/03/29 07:09:42 asami Exp $
#
DISTNAME= 221upgrade-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>