Install /var/db/pkg/.mkversion to check version against bsd.port.mk.

Change IGNORE to FORBIDDEN.
This commit is contained in:
Satoshi Asami 1999-03-29 07:09:48 +00:00
parent 6ce93e77d0
commit 3054f9a583
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17428
14 changed files with 74 additions and 18 deletions

View File

@ -3,7 +3,7 @@
# Date created: 18 Apr 1997
# Whom: asami
#
# $Id: Makefile,v 1.3 1999/03/09 20:57:18 asami Exp $
# $Id: Makefile,v 1.4 1999/03/10 22:10:47 asami Exp $
#
DISTNAME= 221upgrade-1998.03.08
@ -17,11 +17,15 @@ MAINTAINER= asami@Freebsd.ORG
.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
IGNORE= this needs to be built on a 2.2-stable system
FORBIDDEN= this needs to be built on a 2.2-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
NO_INSTALL= yes
PKGINSTALL= ${WRKDIR}/INSTALL
do-install:
${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
.include <bsd.port.post.mk>

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/pkg/.mkversion

View File

@ -3,7 +3,7 @@
# Date created: 18 Apr 1997
# Whom: asami
#
# $Id: Makefile,v 1.3 1999/03/09 20:57:22 asami Exp $
# $Id: Makefile,v 1.4 1999/03/10 22:10:49 asami Exp $
#
DISTNAME= 222upgrade-1998.03.08
@ -17,11 +17,15 @@ MAINTAINER= asami@Freebsd.ORG
.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
IGNORE= this needs to be built on a 2.2-stable system
FORBIDDEN= this needs to be built on a 2.2-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
NO_INSTALL= yes
PKGINSTALL= ${WRKDIR}/INSTALL
do-install:
${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
.include <bsd.port.post.mk>

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/pkg/.mkversion

View File

@ -3,7 +3,7 @@
# Date created: 30 Nov 1997
# Whom: asami
#
# $Id: Makefile,v 1.3 1999/03/09 20:57:22 asami Exp $
# $Id: Makefile,v 1.4 1999/03/10 22:10:50 asami Exp $
#
DISTNAME= 225upgrade-1998.03.08
@ -17,11 +17,15 @@ MAINTAINER= asami@Freebsd.ORG
.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
IGNORE= this needs to be built on a 2.2-stable system
FORBIDDEN= this needs to be built on a 2.2-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
NO_INSTALL= yes
PKGINSTALL= ${WRKDIR}/INSTALL
do-install:
${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
.include <bsd.port.post.mk>

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/pkg/.mkversion

View File

@ -3,7 +3,7 @@
# Date created: 17 Dec 1998
# Whom: asami
#
# $Id: Makefile,v 1.3 1999/03/09 20:57:23 asami Exp $
# $Id: Makefile,v 1.4 1999/03/10 22:10:50 asami Exp $
#
DISTNAME= 227upgrade-1998.03.08
@ -17,11 +17,15 @@ MAINTAINER= asami@Freebsd.ORG
.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
IGNORE= this needs to be built on a 2.2-stable system
FORBIDDEN= this needs to be built on a 2.2-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
NO_INSTALL= yes
PKGINSTALL= ${WRKDIR}/INSTALL
do-install:
${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
.include <bsd.port.post.mk>

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/pkg/.mkversion

View File

@ -3,7 +3,7 @@
# Date created: 17 Dec 1998
# Whom: asami
#
# $Id: Makefile,v 1.3 1999/03/09 20:57:23 asami Exp $
# $Id: Makefile,v 1.4 1999/03/10 22:10:50 asami Exp $
#
DISTNAME= 30upgrade-1998.03.08
@ -17,11 +17,15 @@ MAINTAINER= asami@Freebsd.ORG
.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
IGNORE= this needs to be built on a 3.x-stable system
FORBIDDEN= this needs to be built on a 3.x-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
NO_INSTALL= yes
PKGINSTALL= ${WRKDIR}/INSTALL
do-install:
${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
.include <bsd.port.post.mk>

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/pkg/.mkversion

View File

@ -2,6 +2,7 @@ usr/bin/fetch
usr/bin/install-info
usr/bin/makeinfo
usr/libexec/elf/ld
usr/libexec/ld-elf.so.1
usr/share/mk/bsd.port.mk
usr/share/mk/bsd.port.pre.mk
usr/share/mk/bsd.port.post.mk

View File

@ -3,7 +3,7 @@
# Date created: 8 Mar 1999
# Whom: asami
#
# $Id: Makefile,v 1.2 1999/03/09 20:57:23 asami Exp $
# $Id: Makefile,v 1.3 1999/03/10 22:10:51 asami Exp $
#
DISTNAME= 31upgrade-1999.03.08
@ -17,11 +17,15 @@ MAINTAINER= asami@Freebsd.ORG
.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} < 310000
IGNORE= this needs to be built on a 3.1-stable system
FORBIDDEN= this needs to be built on a 3.1-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
NO_INSTALL= yes
PKGINSTALL= ${WRKDIR}/INSTALL
do-install:
${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
.include <bsd.port.post.mk>

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/pkg/.mkversion

View File

@ -1 +1,2 @@
usr/bin/fetch
usr/libexec/ld-elf.so.1