1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/misc/32upgrade/Makefile
Satoshi Asami 7acef1cd7a Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
2000-10-08 10:23:48 +00:00

38 lines
911 B
Makefile

# New ports collection makefile for: 3.2R to 3-stable upgrade kit
# Date created: 20 May 1999
# Whom: asami
#
# $FreeBSD$
#
PORTNAME= 32upgrade
PORTVERSION= 2000.08.25
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} >= 400000
# test for ${OSVERSION} >= 340000 removed -- it triggers a bug in old make
FORBIDDEN= this needs to be built on a recent 3-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
DATE!= cat /var/db/port.mkversion
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>