aboutsummaryrefslogtreecommitdiff
path: root/x11/gnome-session/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-session/Makefile')
-rw-r--r--x11/gnome-session/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/x11/gnome-session/Makefile b/x11/gnome-session/Makefile
index 125b45fae2a9..1c434ac65945 100644
--- a/x11/gnome-session/Makefile
+++ b/x11/gnome-session/Makefile
@@ -7,10 +7,15 @@
PORTNAME= gnomesession
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES= x11 gnome
-MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/gnome-session/2.2
+MASTER_SITES= ${MASTER_SITE_GNOME} \
+ ${MASTER_SITE_LOCAL:S/$/:local/}
+MASTER_SITE_SUBDIR= sources/gnome-session/2.2 \
+ marcus/:local
DISTNAME= gnome-session-${PORTVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ splash.png:local
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
@@ -29,4 +34,11 @@ MAN1= gnome-session.1 gnome-smproxy.1 gnome-wm.1 session-properties.1 \
gnome-session-save.1
MAN5= default.session.5
+post-extract:
+ @${CP} ${DISTDIR}/${DIST_SUBDIR}/splash.png ${WRKDIR}
+
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/splash.png \
+ ${PREFIX}/share/gnome/pixmaps/splash/gnome-splash.png
+
.include <bsd.port.mk>