summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-24 00:29:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-24 00:29:21 +0000
commit5f1dc5f51c23b91be09decb263edaeec95f40a8e (patch)
tree33a1e26f6e4641ff53049ba3a1228acb315f4015 /x11
parentStill several languages are broken (diff)
- FreeBSD specific changes to man page
PR: ports/76576 Submitted by: Tobias Roth <ports@fsck.ch> (maintainer)
Notes
Notes: svn path=/head/; revision=127158
Diffstat (limited to 'x11')
-rw-r--r--x11/login.app/Makefile13
-rw-r--r--x11/login.app/files/patch-doc::Login.app.1x72
2 files changed, 80 insertions, 5 deletions
diff --git a/x11/login.app/Makefile b/x11/login.app/Makefile
index bb2ff23a27cc..7273b19baa38 100644
--- a/x11/login.app/Makefile
+++ b/x11/login.app/Makefile
@@ -7,7 +7,7 @@
PORTNAME= login.app
PORTVERSION= 2.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 windowmaker
MASTER_SITES= http://largo.windowmaker.org/files/Login.app/ \
http://depot.fsck.ch/mirror/distfiles/
@@ -22,8 +22,8 @@ LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker \
WRKSRC= ${WRKDIR}/Login.app-${PORTVERSION:S/.a/-Alpha-/}
USE_X_PREFIX= yes
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
USE_GMAKE= yes
USE_REINPLACE= yes
@@ -43,7 +43,9 @@ pre-configure:
${WRKSRC}/Themes/Drone/Makefile.in \
${WRKSRC}/Themes/Drone/Makefile.am \
${WRKSRC}/src/Makefile.in \
- ${WRKSRC}/src/Makefile.am
+ ${WRKSRC}/src/Makefile.am \
+ ${WRKSRC}/doc/Login.app.1x
+ # this replacement is only used to fix cluster builds:
@${REINPLACE_CMD} -e \
's|-lWUtil|-lWUtil -lintl|' \
${WRKSRC}/configure \
@@ -60,7 +62,8 @@ post-configure:
${WRKSRC}/Scripts/Startup \
${WRKSRC}/Preferences \
${WRKSRC}/src/config.h \
- ${WRKSRC}/src/preferences.h
+ ${WRKSRC}/src/preferences.h \
+ ${WRKSRC}/doc/Login.app.1x
post-install:
@${SED} 's|%%X11BASE%%|${PREFIX}|' \
diff --git a/x11/login.app/files/patch-doc::Login.app.1x b/x11/login.app/files/patch-doc::Login.app.1x
new file mode 100644
index 000000000000..cef5fb3b61bb
--- /dev/null
+++ b/x11/login.app/files/patch-doc::Login.app.1x
@@ -0,0 +1,72 @@
+--- doc/Login.app.1x.orig Sun Oct 24 04:45:13 2004
++++ doc/Login.app.1x Sat Jan 22 18:38:47 2005
+@@ -1,31 +1,25 @@
+-.TH Login.app 1 "October 2004"
++.TH Login.app 1 "January 2005"
+ .SH NAME
+ Login.app \- a login application with the NeXTStep look
+ .SH SYNOPSIS
+ .B Login.app
+ .SH "DESCRIPTION"
+ \fBLogin.app\fP fires up the X server, changes the background color,
+-and puts a login box centered on the screen. It's invoked via
+-\fIinit(8)\fP.
++and puts a login box centered on the screen\fP.
+
+ It accepts several \fIcommands\fP entered on the \fBusername\fP box.
+ .IP *
+ username \fBreboot\fP with the root password, excecutes
+- \fI/usr/local/GNUstep/Applications/Login.app/Scripts/Restart\fP
++ \fI%%X11BASE%%/GNUstep/Applications/Login.app/Scripts/Restart\fP
+ .IP *
+ username \fBhalt\fP with the root password, excecutes
+- \fI/usr/local/GNUstep/Applications/Login.app/Scripts/PowerOff\fP
++ \fI%%X11BASE%%/GNUstep/Applications/Login.app/Scripts/PowerOff\fP
+ .IP *
+ username \fBsuspend\fP with the root password, executes
+- \fI/usr/local/GNUstep/Applications/Login.app/Scripts/Suspend\fP
++ \fI%%X11BASE%%/GNUstep/Applications/Login.app/Scripts/Suspend\fP
+ .IP *
+-username \fBexit\fP without password exits (and restarts, if installed
+-on inittab) Login.app
+-.IP *
+-username \fBconsole\fP without password opens a kind of console where
+-you can login. \fBPlease note\fP root can't login here UNLESS you edit
+-\fI/etc/securetty(5)\fP to include ttyp0. Read that man page to find out
+-why.
++username \fBexit\fP without password exits Login.app and returns to
++the console login.
+ .SH "OPTIONS"
+ .TP
+ \fB-v\fP, \fB--version\fP
+@@ -35,20 +29,14 @@
+ Parse configuration and show result
+ .SH "FILES"
+ .TP
+-.B /etc/inittab
+-file used by \fIinit(8)\fP to initialize the computer
+-.TP
+-.B /usr/local/GNUstep/Applications/Login.app/Preferences
++.B %%X11BASE%%/GNUstep/Applications/Login.app/Preferences
+ Configuration settings.
+ .TP
+-.B /usr/local/GNUstep/Applications/Login.app/Scripts/*
++.B %%X11BASE%%/GNUstep/Applications/Login.app/Scripts/*
+ Scripts executed by Login.App
+ .TP
+-.B /usr/local/GNUstep/Applications/Login.app/Themes
++.B %%X11BASE%%/GNUstep/Applications/Login.app/Themes
+ Themes used by Login.app.
+-.SH BUGS
+-On the "console" I can't get it to recognize the root password without
+-changing securettys.
+ .SH AUTHOR
+ Login.app was written by Per Liden <per@rsn.hk-r.se>
+ .PP
+@@ -56,4 +44,5 @@
+ .PP
+ This manual page originally written by
+ Marcelo E. Magallon, <mmagallo@debian.org>
+- with updates by Justin Stressman
++ with updates by Justin Stressman and
++ adaptions for FreeBSD by Tobias Roth