summaryrefslogtreecommitdiffstats
path: root/astro/gdesklets-goodweather
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-03-13 20:04:24 +0000
committermarcus <marcus@FreeBSD.org>2004-03-13 20:04:24 +0000
commit5e6c9fecffd60fe374391f96749151b74a40259b (patch)
tree1af8a82d70c6ad7839196a5ace299348b17a8343 /astro/gdesklets-goodweather
parent3364de47524348ac00f66ea817225ab8ec3b97a7 (diff)
downloadFreeBSD-ports-5e6c9fecffd60fe374391f96749151b74a40259b.zip
FreeBSD-ports-5e6c9fecffd60fe374391f96749151b74a40259b.tar.gz
Change the method of pkg-message generation to fix potential breakage with
non-default paths. PR: 64066 Submitted by: maintainer
Diffstat (limited to 'astro/gdesklets-goodweather')
-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
2 files changed, 2 insertions, 1 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
OpenPOWER on IntegriCloud