aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/gdesklets-clock/Makefile26
1 files changed, 12 insertions, 14 deletions
diff --git a/x11-clocks/gdesklets-clock/Makefile b/x11-clocks/gdesklets-clock/Makefile
index 9fdd8e8a91e6..b212696f9a51 100644
--- a/x11-clocks/gdesklets-clock/Makefile
+++ b/x11-clocks/gdesklets-clock/Makefile
@@ -23,28 +23,26 @@ NAME= Clock
LANG= de fr pt sq sr sr@Latn sv
-NO_STAGE= yes
do-build:
@${PYTHON_CMD} ${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${PATCH} ${WRKSRC}/Clock/__init__.py < ${FILESDIR}/Clock::__init__.py
do-install:
- @${MKDIR} ${DATADIR}/Displays/${NAME}
- ${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}
- ${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/Displays/${NAME}
- @${MKDIR} ${DATADIR}/Displays/${NAME}/gfx
- ${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/Displays/${NAME}/gfx
- ${INSTALL_DATA} ${WRKSRC}/gfx/*.xcf ${DATADIR}/Displays/${NAME}/gfx
- @${MKDIR} ${DATADIR}/Sensors/${NAME}
- ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.dat ${DATADIR}/Sensors/${NAME}
- ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/Sensors/${NAME}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/Displays/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/*.display ${STAGEDIR}${DATADIR}/Displays/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DATADIR}/Displays/${NAME}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/Displays/${NAME}/gfx
+ ${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${STAGEDIR}${DATADIR}/Displays/${NAME}/gfx
+ ${INSTALL_DATA} ${WRKSRC}/gfx/*.xcf ${STAGEDIR}${DATADIR}/Displays/${NAME}/gfx
+ @${MKDIR} ${STAGEDIR}${DATADIR}/Sensors/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.dat ${STAGEDIR}${DATADIR}/Sensors/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${STAGEDIR}${DATADIR}/Sensors/${NAME}
.for ii in ${LANG}
- @${MKDIR} ${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
+ @${MKDIR} ${STAGEDIR}${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/${NAME}/locale/${ii}/LC_MESSAGES/*.mo \
- ${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
+ ${STAGEDIR}${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
.endfor
@${LN} -s ${DATADIR}/Displays/${NAME}/README \
- ${DATADIR}/Sensors/${NAME}/README
- @${CAT} ${PKGMESSAGE}
+ ${STAGEDIR}${DATADIR}/Sensors/${NAME}/README
.include <bsd.port.mk>