aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gdesklets-recentlyused
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-11-18 12:07:57 +0800
committermarcus <marcus@FreeBSD.org>2003-11-18 12:07:57 +0800
commit66e404517c2399630197a1eb8072676bdffc9561 (patch)
tree10f1a1faac19d1c3bc9060e35c0462da04b8e67b /deskutils/gdesklets-recentlyused
parent1ff5a742856f6807918b2a0bf8a61d216c644c49 (diff)
downloadfreebsd-ports-gnome-66e404517c2399630197a1eb8072676bdffc9561.tar.gz
freebsd-ports-gnome-66e404517c2399630197a1eb8072676bdffc9561.tar.zst
freebsd-ports-gnome-66e404517c2399630197a1eb8072676bdffc9561.zip
* Convert from ${CP} to ${INSTALL_DATA}
* Quiet some portlint warnings PR: 59399 Submitted by: maintainer
Diffstat (limited to 'deskutils/gdesklets-recentlyused')
-rw-r--r--deskutils/gdesklets-recentlyused/Makefile13
-rw-r--r--deskutils/gdesklets-recentlyused/pkg-plist2
2 files changed, 9 insertions, 6 deletions
diff --git a/deskutils/gdesklets-recentlyused/Makefile b/deskutils/gdesklets-recentlyused/Makefile
index a440f4f88c18..273ddaaa70c3 100644
--- a/deskutils/gdesklets-recentlyused/Makefile
+++ b/deskutils/gdesklets-recentlyused/Makefile
@@ -5,10 +5,11 @@
# $FreeBSD$
#
-PORTNAME= gdesklets-recentlyused
+PORTNAME= recentlyused
PORTVERSION= 0.6
CATEGORIES= deskutils gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
+PKGNAMEPREFIX= gdesklets-
DISTNAME= recently-used-${PORTVERSION}
MAINTAINER= mezz7@cox.net
@@ -18,15 +19,19 @@ RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutil
USE_X_PREFIX= yes
NAME= RecentlyUsed
+DATADIR= ${PREFIX}/share/gnome
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${FIND} ${WRKSRC} -name '*.orig' -delete
do-install:
- @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}
- @${CP} ${WRKSRC}/*.display ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/
- @${CP} -Rp ${WRKSRC}/${NAME} ${PREFIX}/share/gnome/gdesklets/Sensors/
+ @${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}
diff --git a/deskutils/gdesklets-recentlyused/pkg-plist b/deskutils/gdesklets-recentlyused/pkg-plist
index b3c553ec40b4..f133cfaa0d7e 100644
--- a/deskutils/gdesklets-recentlyused/pkg-plist
+++ b/deskutils/gdesklets-recentlyused/pkg-plist
@@ -4,12 +4,10 @@ share/gnome/gdesklets/Sensors/RecentlyUsed/AUTHORS
share/gnome/gdesklets/Sensors/RecentlyUsed/Animator.py
share/gnome/gdesklets/Sensors/RecentlyUsed/Icon.py
share/gnome/gdesklets/Sensors/RecentlyUsed/MimeIcon.py
-share/gnome/gdesklets/Sensors/RecentlyUsed/README
share/gnome/gdesklets/Sensors/RecentlyUsed/RecentFile.py
share/gnome/gdesklets/Sensors/RecentlyUsed/RecentParser.py
share/gnome/gdesklets/Sensors/RecentlyUsed/RecentReader.py
share/gnome/gdesklets/Sensors/RecentlyUsed/RfileSet.py
-share/gnome/gdesklets/Sensors/RecentlyUsed/TODO
share/gnome/gdesklets/Sensors/RecentlyUsed/TestReader.py
share/gnome/gdesklets/Sensors/RecentlyUsed/TestRecent.py
share/gnome/gdesklets/Sensors/RecentlyUsed/TestRfileSet.py