aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-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 5862dae01b0c..47614dbd4c54 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 746726341c66..46c6c7eb09c5 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 ca676b06e508..554ab0723fc3 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 b3804b760b28..6a22ed0001a4 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: