* Convert from ${CP} to ${INSTALL_DATA}

* Quiet some portlint warnings

PR:		59399
Submitted by:	maintainer
This commit is contained in:
Joe Marcus Clarke 2003-11-18 04:07:57 +00:00
parent 1fe6f18160
commit 19f985a0c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94226
2 changed files with 9 additions and 6 deletions

View file

@ -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}

View file

@ -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