summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-18 04:07:57 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-18 04:07:57 +0000
commit19f985a0c7c25c16f20666b1a4b88abe83125e28 (patch)
tree6636849d4799488f53b3f895c0533c478b38efcb /deskutils
parent* Convert from ${CP} to ${INSTALL_DATA} (diff)
* Convert from ${CP} to ${INSTALL_DATA}
* Quiet some portlint warnings PR: 59399 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=94226
Diffstat (limited to 'deskutils')
-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