summaryrefslogtreecommitdiffstats
path: root/deskutils/gdesklets-recentlyused/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gdesklets-recentlyused/Makefile')
-rw-r--r--deskutils/gdesklets-recentlyused/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/deskutils/gdesklets-recentlyused/Makefile b/deskutils/gdesklets-recentlyused/Makefile
index b5a6c54e6..971c59088 100644
--- a/deskutils/gdesklets-recentlyused/Makefile
+++ b/deskutils/gdesklets-recentlyused/Makefile
@@ -7,7 +7,7 @@
PORTNAME= recentlyused
PORTVERSION= 0.6
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= deskutils gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-
@@ -24,18 +24,19 @@ SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
NAME= RecentlyUsed
+DATADIR= ${PREFIX}/share
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${FIND} ${WRKSRC} -name '*.orig' -delete
do-install:
- @${MKDIR} ${DATADIR}/Displays/${NAME}
- @${MKDIR} ${DATADIR}/Sensors/${NAME}
- @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}/
- @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/Sensors/${NAME}/
- @${INSTALL_DATA} ${WRKSRC}/${NAME}/AUTHORS ${DATADIR}/Sensors/${NAME}/
- @${CP} ${WRKSRC}/${NAME}/.recently-used ${DATADIR}/Sensors/${NAME}/
+ @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}
+ @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
+ @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
+ @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
+ @${INSTALL_DATA} ${WRKSRC}/${NAME}/AUTHORS ${DATADIR}/gdesklets/Sensors/${NAME}/
+ @${CP} ${WRKSRC}/${NAME}/.recently-used ${DATADIR}/gdesklets/Sensors/${NAME}/
post-install:
@${CAT} ${PKGMESSAGE}