aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/30upgrade/Makefile3
-rw-r--r--misc/31upgrade/Makefile3
-rw-r--r--misc/32upgrade/Makefile3
-rw-r--r--misc/34upgrade/Makefile3
4 files changed, 8 insertions, 4 deletions
diff --git a/misc/30upgrade/Makefile b/misc/30upgrade/Makefile
index 5862dae01b0..47614dbd4c5 100644
--- a/misc/30upgrade/Makefile
+++ b/misc/30upgrade/Makefile
@@ -24,9 +24,10 @@ NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
+DATE!= cat /var/db/port.mkversion
do-install:
- ${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
+ ${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
deinstall:
diff --git a/misc/31upgrade/Makefile b/misc/31upgrade/Makefile
index 746726341c6..46c6c7eb09c 100644
--- a/misc/31upgrade/Makefile
+++ b/misc/31upgrade/Makefile
@@ -24,9 +24,10 @@ NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
+DATE!= cat /var/db/port.mkversion
do-install:
- ${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
+ ${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
deinstall:
diff --git a/misc/32upgrade/Makefile b/misc/32upgrade/Makefile
index ca676b06e50..554ab0723fc 100644
--- a/misc/32upgrade/Makefile
+++ b/misc/32upgrade/Makefile
@@ -24,9 +24,10 @@ NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
+DATE!= cat /var/db/port.mkversion
do-install:
- ${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
+ ${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
deinstall:
diff --git a/misc/34upgrade/Makefile b/misc/34upgrade/Makefile
index b3804b760b2..6a22ed0001a 100644
--- a/misc/34upgrade/Makefile
+++ b/misc/34upgrade/Makefile
@@ -24,9 +24,10 @@ NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
+DATE!= cat /var/db/port.mkversion
do-install:
- ${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
+ ${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
deinstall: