aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-09-12 05:32:40 +0800
committerflz <flz@FreeBSD.org>2005-09-12 05:32:40 +0800
commit87380dda8a2868c3630943ceb63fd15e9b3e9fba (patch)
tree9b1edc44b6430c30aff2241122c417d0edcd47a6 /net
parentf73b93a7ca6eb4cf8f0a43436377e52b1d7abef3 (diff)
downloadfreebsd-ports-gnome-87380dda8a2868c3630943ceb63fd15e9b3e9fba.tar.gz
freebsd-ports-gnome-87380dda8a2868c3630943ceb63fd15e9b3e9fba.tar.zst
freebsd-ports-gnome-87380dda8a2868c3630943ceb63fd15e9b3e9fba.zip
- Install grdesktop menu icon [1].
- Use GCONF_SCHEMAS and INSTALL_OMF to clean up pkg-plist and pace portlint. PR: ports/85541 [1] Submitted by: Marcus Grando <marcus@corp.grupos.com.br> [1]
Diffstat (limited to 'net')
-rw-r--r--net/grdesktop/Makefile9
-rw-r--r--net/grdesktop/pkg-plist6
2 files changed, 8 insertions, 7 deletions
diff --git a/net/grdesktop/Makefile b/net/grdesktop/Makefile
index 56e652f30339..542fa4ff001d 100644
--- a/net/grdesktop/Makefile
+++ b/net/grdesktop/Makefile
@@ -7,7 +7,7 @@
PORTNAME= grdesktop
PORTVERSION= 0.23
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,13 +21,18 @@ USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= libgnomeui gnomeprefix gnomehack
+GCONF_SCHEMAS= grdesktop.schemas
+INSTALLS_OMF= yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-keymap-path=${LOCALBASE}/share/rdesktop/keymaps
+MAN1= grdesktop.1
+
post-patch:
@${REINPLACE_CMD} -e 's|^\(GETTEXT_PACKAGE =\).*|\1 grdesktop|' ${WRKSRC}/po/Makefile.in.in
-MAN1= grdesktop.1
+post-install:
+ @${INSTALL_DATA} ${PREFIX}/share/gnome/pixmaps/grdesktop/icon.png ${PREFIX}/share/gnome/pixmaps/grdesktop.png
.include <bsd.port.mk>
diff --git a/net/grdesktop/pkg-plist b/net/grdesktop/pkg-plist
index 98e286cc9ae2..db5c067d03fb 100644
--- a/net/grdesktop/pkg-plist
+++ b/net/grdesktop/pkg-plist
@@ -1,7 +1,4 @@
bin/grdesktop
-@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/grdesktop.schemas > /dev/null || /usr/bin/true
-etc/gconf/schemas/grdesktop.schemas
-@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/grdesktop.schemas > /dev/null || /usr/bin/true
share/gnome/application-registry/grdesktop.applications
share/gnome/applications/grdesktop.desktop
share/gnome/help/grdesktop/C/grdesktop.xml
@@ -9,8 +6,6 @@ share/gnome/help/grdesktop/C/legal.xml
share/gnome/mime-info/grdesktop.keys
share/gnome/mime-info/grdesktop.mime
share/gnome/omf/grdesktop/grdesktop-C.omf
-@exec scrollkeeper-install -q %D/share/gnome/omf/grdesktop/grdesktop-C.omf 2>/dev/null || /usr/bin/true
-@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/grdesktop/grdesktop-C.omf 2>/dev/null || /usr/bin/true
share/gnome/pixmaps/grdesktop/animation.gif
share/gnome/pixmaps/grdesktop/colors_1.png
share/gnome/pixmaps/grdesktop/colors_2.png
@@ -27,6 +22,7 @@ share/gnome/pixmaps/grdesktop/settings.png
share/gnome/pixmaps/grdesktop/sound.png
share/gnome/pixmaps/grdesktop/topimage.png
share/gnome/pixmaps/grdesktop/topimage2.png
+share/gnome/pixmaps/grdesktop.png
share/locale/de/LC_MESSAGES/grdesktop.mo
share/locale/es/LC_MESSAGES/grdesktop.mo
share/locale/fr/LC_MESSAGES/grdesktop.mo