diff options
author | marcus <marcus@FreeBSD.org> | 2003-11-18 12:06:29 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-11-18 12:06:29 +0800 |
commit | 1ff5a742856f6807918b2a0bf8a61d216c644c49 (patch) | |
tree | 8f5cf09139571cfd62aefdcbddc9ddc41e03388c /x11-clocks/gdesklets-clock | |
parent | ccf0370a2abbe94aa11cbbc373b013a564258f78 (diff) | |
download | freebsd-ports-gnome-1ff5a742856f6807918b2a0bf8a61d216c644c49.tar.gz freebsd-ports-gnome-1ff5a742856f6807918b2a0bf8a61d216c644c49.tar.zst freebsd-ports-gnome-1ff5a742856f6807918b2a0bf8a61d216c644c49.zip |
* Convert from ${CP} to ${INSTALL_DATA}
* Fix up some portlint warnings
PR: 59396
Submitted by: maintainer
Diffstat (limited to 'x11-clocks/gdesklets-clock')
-rw-r--r-- | x11-clocks/gdesklets-clock/Makefile | 27 | ||||
-rw-r--r-- | x11-clocks/gdesklets-clock/pkg-plist | 1 |
2 files changed, 19 insertions, 9 deletions
diff --git a/x11-clocks/gdesklets-clock/Makefile b/x11-clocks/gdesklets-clock/Makefile index 964a4996e6c0..3552164ff72d 100644 --- a/x11-clocks/gdesklets-clock/Makefile +++ b/x11-clocks/gdesklets-clock/Makefile @@ -5,10 +5,11 @@ # $FreeBSD$ # -PORTNAME= gdesklets-clock +PORTNAME= clock PORTVERSION= 0.32 CATEGORIES= x11-clocks gnome MASTER_SITES= http://gdesklets.gnomedesktop.org/files/ +PKGNAMEPREFIX= gdesklets- DISTNAME= clock-desklet-${PORTVERSION} MAINTAINER= mezz7@cox.net @@ -18,20 +19,30 @@ RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutil USE_BZIP2= yes USE_X_PREFIX= yes + NAME= Clock +DATADIR= ${PREFIX}/share/gnome +LANG= de fr pt sq sr sr@Latn sv 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}/gfx ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/ - @${CP} -Rp ${WRKSRC}/${NAME} ${PREFIX}/share/gnome/gdesklets/Sensors/ - @${CP} ${WRKSRC}/README ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/ - @${LN} -s ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/README \ - ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/README + @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx +.for ii in ${LANG} + @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}/locale/${ii}/LC_MESSAGES + @${INSTALL_DATA} ${WRKSRC}/${NAME}/locale/${ii}/LC_MESSAGES/*.mo \ + ${DATADIR}/gdesklets/Sensors/${NAME}/locale/${ii}/LC_MESSAGES/ +.endfor + @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/ + @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.dat ${DATADIR}/gdesklets/Sensors/${NAME}/ + @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/ + @${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/ + @${INSTALL_DATA} ${WRKSRC}/gfx/*.xcf ${DATADIR}/gdesklets/Displays/${NAME}/gfx/ + @${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Displays/${NAME}/ + @${LN} -s ${DATADIR}/gdesklets/Displays/${NAME}/README \ + ${DATADIR}/gdesklets/Sensors/${NAME}/README post-install: @${CAT} ${PKGMESSAGE} diff --git a/x11-clocks/gdesklets-clock/pkg-plist b/x11-clocks/gdesklets-clock/pkg-plist index 29a26dd01ad9..e75d46f8d072 100644 --- a/x11-clocks/gdesklets-clock/pkg-plist +++ b/x11-clocks/gdesklets-clock/pkg-plist @@ -11,7 +11,6 @@ share/gnome/gdesklets/Displays/Clock/osXclock.display share/gnome/gdesklets/Displays/Clock/plainclock.display share/gnome/gdesklets/Displays/Clock/pocket-watch.display share/gnome/gdesklets/Displays/Clock/rafclock.display -share/gnome/gdesklets/Sensors/Clock/ChangeLog share/gnome/gdesklets/Sensors/Clock/README share/gnome/gdesklets/Sensors/Clock/__init__.py share/gnome/gdesklets/Sensors/Clock/locale/de/LC_MESSAGES/gdesklets.mo |