aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-03-29 15:09:48 +0800
committerasami <asami@FreeBSD.org>1999-03-29 15:09:48 +0800
commit7931da6a896ef8f64aacecf5c67d6c1ffa5af05e (patch)
tree3389aeddef64feaa6154efa3ce34d1be40c7d404 /misc
parentd72b5028c66e505114e3c9fddd68e2e1193ace57 (diff)
downloadfreebsd-ports-gnome-7931da6a896ef8f64aacecf5c67d6c1ffa5af05e.tar.gz
freebsd-ports-gnome-7931da6a896ef8f64aacecf5c67d6c1ffa5af05e.tar.zst
freebsd-ports-gnome-7931da6a896ef8f64aacecf5c67d6c1ffa5af05e.zip
Install /var/db/pkg/.mkversion to check version against bsd.port.mk.
Change IGNORE to FORBIDDEN.
Diffstat (limited to 'misc')
-rw-r--r--misc/221upgrade/Makefile10
-rw-r--r--misc/221upgrade/pkg-install5
-rw-r--r--misc/222upgrade/Makefile10
-rw-r--r--misc/222upgrade/pkg-install5
-rw-r--r--misc/225upgrade/Makefile10
-rw-r--r--misc/225upgrade/pkg-install5
-rw-r--r--misc/227upgrade/Makefile10
-rw-r--r--misc/227upgrade/pkg-install5
-rw-r--r--misc/30upgrade/Makefile10
-rw-r--r--misc/30upgrade/pkg-install5
-rw-r--r--misc/30upgrade/pkg-plist1
-rw-r--r--misc/31upgrade/Makefile10
-rw-r--r--misc/31upgrade/pkg-install5
-rw-r--r--misc/31upgrade/pkg-plist1
14 files changed, 74 insertions, 18 deletions
diff --git a/misc/221upgrade/Makefile b/misc/221upgrade/Makefile
index 895ff9304e6c..b5d121bd7cbb 100644
--- a/misc/221upgrade/Makefile
+++ b/misc/221upgrade/Makefile
@@ -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>
diff --git a/misc/221upgrade/pkg-install b/misc/221upgrade/pkg-install
new file mode 100644
index 000000000000..83a9f3edb0df
--- /dev/null
+++ b/misc/221upgrade/pkg-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ "$2" != "PRE-INSTALL" ]; then
+ exit 0
+fi
+echo %%VERSION%% > /var/db/pkg/.mkversion
diff --git a/misc/222upgrade/Makefile b/misc/222upgrade/Makefile
index 9f1075ddfeb3..02c7f45321b1 100644
--- a/misc/222upgrade/Makefile
+++ b/misc/222upgrade/Makefile
@@ -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>
diff --git a/misc/222upgrade/pkg-install b/misc/222upgrade/pkg-install
new file mode 100644
index 000000000000..83a9f3edb0df
--- /dev/null
+++ b/misc/222upgrade/pkg-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ "$2" != "PRE-INSTALL" ]; then
+ exit 0
+fi
+echo %%VERSION%% > /var/db/pkg/.mkversion
diff --git a/misc/225upgrade/Makefile b/misc/225upgrade/Makefile
index b3e450fac53e..98a580e82b96 100644
--- a/misc/225upgrade/Makefile
+++ b/misc/225upgrade/Makefile
@@ -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>
diff --git a/misc/225upgrade/pkg-install b/misc/225upgrade/pkg-install
new file mode 100644
index 000000000000..83a9f3edb0df
--- /dev/null
+++ b/misc/225upgrade/pkg-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ "$2" != "PRE-INSTALL" ]; then
+ exit 0
+fi
+echo %%VERSION%% > /var/db/pkg/.mkversion
diff --git a/misc/227upgrade/Makefile b/misc/227upgrade/Makefile
index 5d5a1abbffe6..f3c51db8fbc8 100644
--- a/misc/227upgrade/Makefile
+++ b/misc/227upgrade/Makefile
@@ -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>
diff --git a/misc/227upgrade/pkg-install b/misc/227upgrade/pkg-install
new file mode 100644
index 000000000000..83a9f3edb0df
--- /dev/null
+++ b/misc/227upgrade/pkg-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ "$2" != "PRE-INSTALL" ]; then
+ exit 0
+fi
+echo %%VERSION%% > /var/db/pkg/.mkversion
diff --git a/misc/30upgrade/Makefile b/misc/30upgrade/Makefile
index 148a5f502359..23d1115e09c9 100644
--- a/misc/30upgrade/Makefile
+++ b/misc/30upgrade/Makefile
@@ -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>
diff --git a/misc/30upgrade/pkg-install b/misc/30upgrade/pkg-install
new file mode 100644
index 000000000000..83a9f3edb0df
--- /dev/null
+++ b/misc/30upgrade/pkg-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ "$2" != "PRE-INSTALL" ]; then
+ exit 0
+fi
+echo %%VERSION%% > /var/db/pkg/.mkversion
diff --git a/misc/30upgrade/pkg-plist b/misc/30upgrade/pkg-plist
index 35765a432151..88d0a76703ce 100644
--- a/misc/30upgrade/pkg-plist
+++ b/misc/30upgrade/pkg-plist
@@ -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
diff --git a/misc/31upgrade/Makefile b/misc/31upgrade/Makefile
index 530c7fff9e66..46052f5746a3 100644
--- a/misc/31upgrade/Makefile
+++ b/misc/31upgrade/Makefile
@@ -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>
diff --git a/misc/31upgrade/pkg-install b/misc/31upgrade/pkg-install
new file mode 100644
index 000000000000..83a9f3edb0df
--- /dev/null
+++ b/misc/31upgrade/pkg-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ "$2" != "PRE-INSTALL" ]; then
+ exit 0
+fi
+echo %%VERSION%% > /var/db/pkg/.mkversion
diff --git a/misc/31upgrade/pkg-plist b/misc/31upgrade/pkg-plist
index b641c83f4500..f2a237762345 100644
--- a/misc/31upgrade/pkg-plist
+++ b/misc/31upgrade/pkg-plist
@@ -1 +1,2 @@
usr/bin/fetch
+usr/libexec/ld-elf.so.1