summaryrefslogtreecommitdiff
path: root/x11/slim
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2014-03-26 21:18:57 +0000
committerChris Rees <crees@FreeBSD.org>2014-03-26 21:18:57 +0000
commitcd9057c8dfd797217792ea37ff256099af375505 (patch)
tree1bda1203413f84358d8b8af730b933814029c5e1 /x11/slim
parent- Stage support (diff)
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)
Notes
Notes: svn path=/head/; revision=349295
Diffstat (limited to 'x11/slim')
-rw-r--r--x11/slim/Makefile3
-rw-r--r--x11/slim/files/patch-slim.114
-rw-r--r--x11/slim/files/pkg-message.in6
3 files changed, 23 insertions, 0 deletions
diff --git a/x11/slim/Makefile b/x11/slim/Makefile
index 59d490fce971..411a95fd365e 100644
--- a/x11/slim/Makefile
+++ b/x11/slim/Makefile
@@ -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}
diff --git a/x11/slim/files/patch-slim.1 b/x11/slim/files/patch-slim.1
new file mode 100644
index 000000000000..9608b1a697f1
--- /dev/null
+++ b/x11/slim/files/patch-slim.1
@@ -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.
diff --git a/x11/slim/files/pkg-message.in b/x11/slim/files/pkg-message.in
index 49e96928bc2e..ebdd7bbfde26 100644
--- a/x11/slim/files/pkg-message.in
+++ b/x11/slim/files/pkg-message.in
@@ -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
+
*************************************************************************