summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--astro/gdesklets-goodweather/Makefile3
-rw-r--r--astro/gdesklets-goodweather/files/pkg-message.in (renamed from astro/gdesklets-goodweather/pkg-message)0
-rw-r--r--astro/gdesklets-weather/Makefile3
-rw-r--r--astro/gdesklets-weather/files/pkg-message.in (renamed from astro/gdesklets-weather/pkg-message)0
4 files changed, 4 insertions, 2 deletions
diff --git a/astro/gdesklets-goodweather/Makefile b/astro/gdesklets-goodweather/Makefile
index c785e30..0ba0524 100644
--- a/astro/gdesklets-goodweather/Makefile
+++ b/astro/gdesklets-goodweather/Makefile
@@ -31,7 +31,6 @@ SKINS= liquid um weather.com
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
- @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}
do-install:
@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
@@ -53,6 +52,8 @@ do-install:
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' \
+ ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/astro/gdesklets-goodweather/pkg-message b/astro/gdesklets-goodweather/files/pkg-message.in
index 682e55e..682e55e 100644
--- a/astro/gdesklets-goodweather/pkg-message
+++ b/astro/gdesklets-goodweather/files/pkg-message.in
diff --git a/astro/gdesklets-weather/Makefile b/astro/gdesklets-weather/Makefile
index 041e588..b0e3e27 100644
--- a/astro/gdesklets-weather/Makefile
+++ b/astro/gdesklets-weather/Makefile
@@ -27,7 +27,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
- @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}
do-install:
@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
@@ -43,6 +42,8 @@ do-install:
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' \
+ ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/astro/gdesklets-weather/pkg-message b/astro/gdesklets-weather/files/pkg-message.in
index 0acaea0..0acaea0 100644
--- a/astro/gdesklets-weather/pkg-message
+++ b/astro/gdesklets-weather/files/pkg-message.in
OpenPOWER on IntegriCloud