1999-05-20 21:14:39 +00:00
|
|
|
# New ports collection makefile for: 3.1R to 3-stable upgrade kit
|
1999-03-08 09:06:48 +00:00
|
|
|
# Date created: 8 Mar 1999
|
|
|
|
# Whom: asami
|
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1999-03-08 09:06:48 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= 31upgrade
|
|
|
|
PORTVERSION= 2000.02.02
|
1999-03-08 09:06:48 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
1999-06-21 23:25:11 +00:00
|
|
|
MAINTAINER= asami@FreeBSD.org
|
1999-03-08 09:06:48 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-03-09 20:57:23 +00:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
1999-03-10 22:10:51 +00:00
|
|
|
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
|
2000-01-13 02:39:35 +00:00
|
|
|
.elif ${OSVERSION} >= 400000
|
|
|
|
# test for ${OSVERSION} >= 340000 removed -- it triggers a bug in old make
|
2000-01-06 06:57:50 +00:00
|
|
|
FORBIDDEN= this needs to be built on a recent 3-stable system
|
1999-03-08 09:06:48 +00:00
|
|
|
.endif
|
|
|
|
NO_MTREE= yes
|
|
|
|
PREFIX= /
|
|
|
|
NO_BUILD= yes
|
1999-03-29 07:09:48 +00:00
|
|
|
PKGINSTALL= ${WRKDIR}/INSTALL
|
2000-06-03 00:43:09 +00:00
|
|
|
DATE!= cat /var/db/port.mkversion
|
1999-03-29 07:09:48 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-06-03 00:43:09 +00:00
|
|
|
${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/INSTALL \
|
1999-03-29 07:09:48 +00:00
|
|
|
> ${PKGINSTALL}
|
1999-03-08 09:06:48 +00:00
|
|
|
|
1999-04-21 04:59:59 +00:00
|
|
|
deinstall:
|
|
|
|
@${ECHO} "You can't delete this port."
|
|
|
|
@${FALSE}
|
|
|
|
|
1999-03-08 09:06:48 +00:00
|
|
|
.include <bsd.port.post.mk>
|