aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-07 22:18:41 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-07 22:18:41 +0800
commitfbb0272a7787d0cd8ce48815383371e9c494d556 (patch)
treedcb50cdabf16c5eefb9afc67b360e18ab61cfb89 /deskutils
parente0d304214825bd4d73a3d275d7568bc5b0b1d43c (diff)
downloadfreebsd-ports-gnome-fbb0272a7787d0cd8ce48815383371e9c494d556.tar.gz
freebsd-ports-gnome-fbb0272a7787d0cd8ce48815383371e9c494d556.tar.zst
freebsd-ports-gnome-fbb0272a7787d0cd8ce48815383371e9c494d556.zip
Stagify.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gdesklets-starterbar/Makefile32
1 files changed, 15 insertions, 17 deletions
diff --git a/deskutils/gdesklets-starterbar/Makefile b/deskutils/gdesklets-starterbar/Makefile
index 65981aca3613..b93a8c07f8d1 100644
--- a/deskutils/gdesklets-starterbar/Makefile
+++ b/deskutils/gdesklets-starterbar/Makefile
@@ -24,32 +24,30 @@ NAME= StarterBar
LANG= ca cs de en_CA en_GB es fr hr nl pt pt_BR sq sr sr@Latn sv
-NO_STAGE= yes
do-build:
@${PYTHON_CMD} ${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
do-install:
- @${MKDIR} ${DATADIR}/Displays/${NAME}
- ${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/Displays/${NAME}
- ${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}
- @${MKDIR} ${DATADIR}/Displays/${NAME}/gfx
- ${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/Displays/${NAME}/gfx
- @${MKDIR} ${DATADIR}/Sensors/${NAME}
- ${INSTALL_DATA} ${WRKSRC}/${NAME}/ChangeLog ${DATADIR}/Sensors/${NAME}
- ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.desktop ${DATADIR}/Sensors/${NAME}
- ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/Sensors/${NAME}
- @${CP} ${WRKSRC}/${NAME}/.order ${DATADIR}/Sensors/${NAME}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/Displays/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DATADIR}/Displays/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/*.display ${STAGEDIR}${DATADIR}/Displays/${NAME}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/Displays/${NAME}/gfx
+ ${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${STAGEDIR}${DATADIR}/Displays/${NAME}/gfx
+ @${MKDIR} ${STAGEDIR}${DATADIR}/Sensors/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/ChangeLog ${STAGEDIR}${DATADIR}/Sensors/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.desktop ${STAGEDIR}${DATADIR}/Sensors/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${STAGEDIR}${DATADIR}/Sensors/${NAME}
+ @${CP} ${WRKSRC}/${NAME}/.order ${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
+ ${STAGEDIR}${DATADIR}/Sensors/${NAME}/README
post-install:
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
- @${CAT} ${PKGMESSAGE}
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${DATADIR}/Sensors/${NAME} -f ${STAGEDIR}${DATADIR}/Sensors/${NAME}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d ${DATADIR}/Sensors/${NAME} -f ${STAGEDIR}${DATADIR}/Sensors/${NAME}
.include <bsd.port.mk>