summaryrefslogtreecommitdiff
path: root/wm/ctwm
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2009-01-27 01:40:57 +0000
committerjmcneill <jmcneill@pkgsrc.org>2009-01-27 01:40:57 +0000
commit6955be006843db8f5c3f4256f90fca945e1e84fa (patch)
treed5e2f166b8d747a0f5fad0bf2901aca6c0ab65f3 /wm/ctwm
parent1e55d885f75e41b3e62b92f9d387a47405061be0 (diff)
downloadpkgsrc-6955be006843db8f5c3f4256f90fca945e1e84fa.tar.gz
Install xsessions file so GDM will pick it up.
Diffstat (limited to 'wm/ctwm')
-rw-r--r--wm/ctwm/Makefile6
-rw-r--r--wm/ctwm/PLIST4
-rw-r--r--wm/ctwm/files/ctwm.desktop8
3 files changed, 16 insertions, 2 deletions
diff --git a/wm/ctwm/Makefile b/wm/ctwm/Makefile
index 1f227365806..67d13a7cc70 100644
--- a/wm/ctwm/Makefile
+++ b/wm/ctwm/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2008/11/17 10:27:57 obache Exp $
+# $NetBSD: Makefile,v 1.23 2009/01/27 01:40:57 jmcneill Exp $
#
DISTNAME= ctwm-3.8a
+PKGREVISION= 1
CATEGORIES= x11 wm
MASTER_SITES= http://ctwm.free.lp.se/dist/
@@ -37,6 +38,9 @@ pre-install:
.for f in example.ctwmrc levitte.ctwmrc peterc.ctwmrc system.ctwmrc system.ctwmrc.gnome
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EXAMPLEDIR}
.endfor
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/xsessions
+ ${INSTALL_DATA} ${FILESDIR}/ctwm.desktop \
+ ${DESTDIR}${PREFIX}/share/xsessions/ctwm.desktop
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
diff --git a/wm/ctwm/PLIST b/wm/ctwm/PLIST
index 15e2fef7766..34901f6603e 100644
--- a/wm/ctwm/PLIST
+++ b/wm/ctwm/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2005/10/06 17:28:42 reed Exp $
+@comment $NetBSD: PLIST,v 1.4 2009/01/27 01:40:57 jmcneill Exp $
bin/ctwm
lib/X11/twm/images/3D_Expand15.xpm
lib/X11/twm/images/3D_Iconify15.xpm
@@ -97,5 +97,7 @@ share/examples/ctwm/levitte.ctwmrc
share/examples/ctwm/peterc.ctwmrc
share/examples/ctwm/system.ctwmrc
share/examples/ctwm/system.ctwmrc.gnome
+share/xsessions/ctwm.desktop
@dirrm share/examples/ctwm
@dirrm lib/X11/twm/images
+@unexec ${RMDIR} %D/share/xsessions 2>/dev/null || ${TRUE}
diff --git a/wm/ctwm/files/ctwm.desktop b/wm/ctwm/files/ctwm.desktop
new file mode 100644
index 00000000000..52378732fe1
--- /dev/null
+++ b/wm/ctwm/files/ctwm.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=CTWM
+Comment=This session logs you into CTWM
+Exec=ctwm
+TryExec=ctwm
+Icon=
+Type=Application