Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 21:18:57 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349295 - in head/x11/slim: . files
Message-ID:  <201403262118.s2QLIv8l092666@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Wed Mar 26 21:18:57 2014
New Revision: 349295
URL: http://svnweb.freebsd.org/changeset/ports/349295
QAT: https://qat.redports.org/buildarchive/r349295/

Log:
  Modify manpage for FreeBSD-specific information.
  
  Add rc note to pkg-message
  
  PR:		ports/187431
  Submitted by:	Henry Hu <henry.hu.sh@gmail.com> (maintainer)

Added:
  head/x11/slim/files/patch-slim.1   (contents, props changed)
Modified:
  head/x11/slim/Makefile
  head/x11/slim/files/pkg-message.in

Modified: head/x11/slim/Makefile
==============================================================================
--- head/x11/slim/Makefile	Wed Mar 26 21:11:12 2014	(r349294)
+++ head/x11/slim/Makefile	Wed Mar 26 21:18:57 2014	(r349295)
@@ -3,6 +3,7 @@
 
 PORTNAME=	slim
 PORTVERSION=	1.3.6
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	ftp://ftp.berlios.de/pub/slim/ \
 		SF/slim.berlios
@@ -49,6 +50,8 @@ post-patch:
 	@${CP} ${WRKSRC}/slim.conf ${WRKSRC}/slim.conf.sample
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
 		${WRKSRC}/slim.conf.sample
+	@${REINPLACE_CMD} -e 's,/etc/slim.conf,${PREFIX}&,' \
+		${WRKSRC}/slim.1
 
 post-install:
 .	if ${PORT_OPTIONS:MPAM}

Added: head/x11/slim/files/patch-slim.1
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/slim/files/patch-slim.1	Wed Mar 26 21:18:57 2014	(r349295)
@@ -0,0 +1,14 @@
+$FreeBSD$
+
+--- slim.1.orig	2014-03-10 21:18:36.740597788 +0000
++++ slim.1	2014-03-10 21:22:07.373025770 +0000
+@@ -42,6 +42,9 @@
+ .SH STARTING SLIM AT BOOT
+ Please refer to documentation of your Operating System to make \fBslim\fP
+ automatically startup after the system boots.
++.PP
++For \fBFreeBSD\fP, you should add the line slim_enable=yes to /etc/rc.conf
++to make \fBslim\fP start on boot.
+ .SH CONFIGURATION
+ Global configuration is stored in the /etc/slim.conf file. See the comments
+ inside the file for a detailed explanation of the \fIoptions\fP.

Modified: head/x11/slim/files/pkg-message.in
==============================================================================
--- head/x11/slim/files/pkg-message.in	Wed Mar 26 21:11:12 2014	(r349294)
+++ head/x11/slim/files/pkg-message.in	Wed Mar 26 21:18:57 2014	(r349295)
@@ -3,4 +3,10 @@
 Thanks to Nikos Ntarmos, it is now possible to start slim from /etc/ttys.
 Please see %%PREFIX%%/etc/rc.d/slim for instructions on how to do that.
 
+Alternatively, just put
+
+slim_enable=yes
+
+into /etc/rc.conf
+
 *************************************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403262118.s2QLIv8l092666>