1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11/login.app/files/patch-aa
Steve Price 142e06cf65 Adding login.app version 2.0.0.a4.
A nice looking login interface to your favorite X-server.

PR:		16161
Submitted by:	Maxim Sobolev <sobomax@altavista.net>
2000-01-29 22:42:59 +00:00

50 lines
1.5 KiB
Plaintext

--- Makefile.orig Fri Oct 29 18:55:32 1999
+++ Makefile Mon Jan 17 18:23:36 2000
@@ -2,12 +2,12 @@
# Login.app Makefile
#
-INSTALL_DIR = /usr/local/GNUstep/Apps/Login.app
+INSTALL_DIR = ${X11BASE}/GNUstep/Apps/Login.app
-INSTALL = /usr/bin/install
+INSTALL = /usr/bin/install -c
CC = cc
-CFLAGS += -g -Wall -pedantic -D_GNU_SOURCE `get-wraster-flags --cflags`
-LDFLAGS += `get-wraster-flags --ldflags` `get-wraster-flags --libs` -lXmu -lPropList -lcrypt
+CFLAGS += -g -Wall -pedantic -D_GNU_SOURCE `${X11BASE}/bin/get-wraster-flags --cflags`
+LDFLAGS += `${X11BASE}/bin/get-wraster-flags --ldflags` `${X11BASE}/bin/get-wraster-flags --libs` -lXmu -lPropList -lcrypt
TARGET = Login
@@ -19,8 +19,16 @@
graphics.o \
util.o
+SCRIPTS = Login.root \
+ Login.user \
+ Logout.root \
+ Restart \
+ Suspend \
+ PowerOff \
+ Startup
+
$(TARGET): $(OBJS)
- $(CC) -o $(TARGET) $^ $(LDFLAGS)
+ $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS)
clean:
rm -rf $(TARGET) $(OBJS) core `find -name \*~`
@@ -31,9 +39,9 @@
$(INSTALL) -d $(INSTALL_DIR)/Themes
$(INSTALL) -d $(INSTALL_DIR)/Themes/Linux
$(INSTALL) -d $(INSTALL_DIR)/Themes/GNUstep
- $(INSTALL) $(TARGET) $(INSTALL_DIR)
+ $(INSTALL) -s $(TARGET) $(INSTALL_DIR)
$(INSTALL) -m 644 Preferences $(INSTALL_DIR)/Preferences
- $(INSTALL) Scripts/* $(INSTALL_DIR)/Scripts/
+ cd Scripts && $(INSTALL) $(SCRIPTS) $(INSTALL_DIR)/Scripts/
$(INSTALL) -m 644 Themes/Linux/* $(INSTALL_DIR)/Themes/Linux/
$(INSTALL) -m 644 Themes/GNUstep/* $(INSTALL_DIR)/Themes/GNUstep/