mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
5e30dde42d
This is the client program for the Server Uptimes project. For more information on the Server Uptimes project visit their web site at: http://uptime.hexon.cx/ PR: 13272 Submitted by: Kelly Yancey <kbyanc@posi.net>
31 lines
701 B
Plaintext
31 lines
701 B
Plaintext
--- Makefile.orig Sat Apr 10 02:47:19 1999
|
|
+++ Makefile Fri Aug 20 14:51:05 1999
|
|
@@ -1,7 +1,7 @@
|
|
# Uptime Client Makefile
|
|
|
|
# Location of config file (for example /etc/upclient.conf)
|
|
-CONFIGFILE = upclient.conf
|
|
+CONFIGFILE = $(PREFIX)/etc/upclient.conf
|
|
|
|
|
|
################
|
|
@@ -29,10 +29,8 @@
|
|
upclient
|
|
|
|
bsd:
|
|
- $(MAKE) CC=gcc \
|
|
- LDFLAGS= \
|
|
- OBJECTS= \
|
|
- CFLAGS='-DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \
|
|
+ $(MAKE) OBJECTS= \
|
|
+ CFLAGS='$(CFLAGS) -DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \
|
|
upclient
|
|
|
|
solaris:
|
|
@@ -88,3 +86,5 @@
|
|
install: prepared-for-install
|
|
strip $(BINNAME)
|
|
chmod 755 $(BINNAME)
|
|
+ $(INSTALL) $(BINNAME) $(PREFIX)/bin
|
|
+ $(CP) upclient.conf $(PREFIX)/etc
|