diff options
author | flathill <flathill@FreeBSD.org> | 1998-11-22 21:40:16 +0800 |
---|---|---|
committer | flathill <flathill@FreeBSD.org> | 1998-11-22 21:40:16 +0800 |
commit | ff45877939d6fc0334a49b762e97adca3559342e (patch) | |
tree | 446503fe88faf2e69459750e8544b8cc4421e867 /x11-clocks/astime/files | |
parent | 716296bc85df6a38afcb26cb275259d6d772cb92 (diff) | |
download | freebsd-ports-gnome-ff45877939d6fc0334a49b762e97adca3559342e.tar.gz freebsd-ports-gnome-ff45877939d6fc0334a49b762e97adca3559342e.tar.zst freebsd-ports-gnome-ff45877939d6fc0334a49b762e97adca3559342e.zip |
PR: ports/8786
Submitted by: handy@physics.montana.edu
Initial Import astime.
Time/Date applet.
Diffstat (limited to 'x11-clocks/astime/files')
-rw-r--r-- | x11-clocks/astime/files/patch-aa | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/x11-clocks/astime/files/patch-aa b/x11-clocks/astime/files/patch-aa new file mode 100644 index 000000000000..e8d4997a9ea3 --- /dev/null +++ b/x11-clocks/astime/files/patch-aa @@ -0,0 +1,37 @@ +--- Makefile.orig Fri Nov 13 00:39:24 1998 ++++ Makefile Sun Nov 22 22:31:45 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 + + # The location and names of the X11 libraries + LDIR = -L/usr/X11R6/lib +@@ -39,20 +39,20 @@ + + install: + @echo Installing astime in $(INSTALL_X_DIR) ... +- -@strip astime ++ -@/usr/libexec/${PORTOBJFORMAT}/strip astime + -@if [ -e $(INSTALL_X_DIR)/astime ] ; then rm $(INSTALL_X_DIR)/astime; fi + @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. + + 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: |