Index: head/x11/xdm/Makefile =================================================================== --- head/x11/xdm/Makefile (revision 522433) +++ head/x11/xdm/Makefile (revision 522434) @@ -1,52 +1,53 @@ # $FreeBSD$ PORTNAME= xdm PORTVERSION= 1.1.12 PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org COMMENT= X.Org X display manager LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe libtool xorg xorg-cat:app USE_LDCONFIG= yes USE_XORG= x11 xau xaw xdmcp xext xinerama xmu xpm xrender xt +USE_RC_SUBR= xdm CPE_PRODUCT= x_display_manager CPE_VENDOR= x CONFIGURE_ARGS+= --with-xdmconfigdir=${PREFIX}/etc/X11/xdm \ --with-xdmscriptdir=${PREFIX}/etc/X11/xdm \ --with-pixmapdir=${PREFIX}/share/pixmaps \ --with-authdir=/var/db/xdm CFFILES= GiveConsole TakeConsole Xaccess Xreset Xresources \ Xservers Xsession Xsetup_0 Xstartup Xwilling xdm-config OPTIONS_SUB= yes OPTIONS_DEFINE= XDMSHELL XFT OPTIONS_DEFAULT= XFT XDMSHELL_DESC= Install xdmshell XDMSHELL_CONFIGURE_ENABLE= xdmshell XFT_USE= xorg=xft XFT_CONFIGURE_WITH= xft INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s|@DESTDIR@||" ${WRKSRC}/Makefile.in post-install: .for f in ${CFFILES} @${MV} ${STAGEDIR}${PREFIX}/etc/X11/xdm/${f} ${STAGEDIR}${PREFIX}/etc/X11/xdm/${f}.sample .endfor @${MKDIR} ${STAGEDIR}/var/db/xdm .include Index: head/x11/xdm/files/xdm.in =================================================================== --- head/x11/xdm/files/xdm.in (nonexistent) +++ head/x11/xdm/files/xdm.in (revision 522434) @@ -0,0 +1,30 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: xdm +# REQUIRE: LOGIN moused +# KEYWORD: nojail shutdown +# +# Add the following line to /etc/rc.conf to enable xdm: +# xdm_enable="YES" +# +# Alternatively, edit /etc/ttys and change the line below +# ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure +# to this: +# ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure + +. /etc/rc.subr + +name="xdm" +rcvar=xdm_enable +desc="X.org X display manager" + +load_rc_config $name + +: ${xdm_enable:=NO} + +command=%%PREFIX%%/bin/$name +pidfile=/var/run/$name.pid + +run_rc_command $1 Property changes on: head/x11/xdm/files/xdm.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property