summaryrefslogtreecommitdiffstats
path: root/x11-clocks/astime/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks/astime/files/patch-aa')
-rw-r--r--x11-clocks/astime/files/patch-aa36
1 files changed, 8 insertions, 28 deletions
diff --git a/x11-clocks/astime/files/patch-aa b/x11-clocks/astime/files/patch-aa
index 3918a8c..80e36b0 100644
--- a/x11-clocks/astime/files/patch-aa
+++ b/x11-clocks/astime/files/patch-aa
@@ -1,31 +1,11 @@
---- Makefile.orig Fri Nov 13 00:39:24 1998
-+++ Makefile Mon Nov 23 11:33:46 1998
-@@ -1,7 +1,7 @@
- #-----------------------------------------------------
- # The locations where this program should be installed
--INSTALL_X_DIR=/usr/local/bin
--MAN_DIR=/usr/local/man/man1
-+INSTALL_X_DIR=${PREFIX}/bin
-+MAN_DIR=${PREFIX}/man/man1
+--- autoconf/Makefile.common.in.orig Wed Dec 9 01:53:23 1998
++++ autoconf/Makefile.common.in Wed Dec 9 01:53:32 1998
+@@ -11,7 +11,7 @@
+ $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
- # The location and names of the X11 libraries
- LDIR = -L/usr/X11R6/lib
-@@ -44,15 +44,15 @@
- @cp astime $(INSTALL_X_DIR)/astime
- @chmod 755 $(INSTALL_X_DIR)/astime
- @echo Installing the man page in $(MAN_DIR) ...
-- @cp astime.man $(MAN_DIR)/astime.1x
-- @chmod 644 $(MAN_DIR)/astime.1x
-+ @cp astime.man $(MAN_DIR)/astime.1
-+ @chmod 644 $(MAN_DIR)/astime.1
- @echo Done.
+ install.man:
+- $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x
++ $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1
uninstall:
- @echo Uninstalling astime in $(INSTALL_X_DIR) ...
- -@if [ -e $(INSTALL_X_DIR)/astime ] ; then rm $(INSTALL_X_DIR)/astime; fi
- @echo Uninstalling the man page in $(MAN_DIR) ...
-- -@if [ -e $(MAN_DIR)/astime.1x ] ; then rm $(MAN_DIR)/astime.1x; fi
-+ -@if [ -e $(MAN_DIR)/astime.1 ] ; then rm $(MAN_DIR)/astime.1; fi
- @echo Done.
-
- clean:
+ $(RMF) $(AFTER_BIN_DIR)/$(PROG)
OpenPOWER on IntegriCloud