dce4491a9c
the import message used when it was imported to ports/misc: New port, qpage: QuickPage sends messages to a paging terminal using the SNPP and IXO (also known as TAP) protocols. It is normally used with no options other than a recipient and the message text, in which case the message is sent to the SNPP server where it is submitted to a page queue to be sent by a separate daemon process. PR: 4224 Submitted by: Joe Stein <joes@seaport.net>
36 lines
961 B
Plaintext
36 lines
961 B
Plaintext
--- Makefile.orig Sat Aug 2 21:02:24 1997
|
|
+++ Makefile Sun Aug 3 21:38:37 1997
|
|
@@ -16,14 +16,16 @@
|
|
# NEED_STRERROR - your system does NOT support strerror()
|
|
#
|
|
|
|
-CCENV= -DSOLARIS -DFACILITY=LOG_LOCAL1 # -DSNPP_SERVER=\"short\"
|
|
+#CCENV= -DSOLARIS -DFACILITY=LOG_LOCAL1 # -DSNPP_SERVER=\"short\"
|
|
+CCENV= -DFACILITY=LOG_DAEMON -DLOCKDIR=\"/var/spool/lock\" -DDAEMONUSER=1 -DDAEMONGROUP=68 -DSYSTEM_CONFIG=\"${PREFIX}/etc/qpage.cf\" -D_PATH_SENDMAIL=\"/usr/sbin/sendmail\"
|
|
#DEBUG= -g -DDEBUG
|
|
|
|
-CFLAGS= -mr $(DEBUG) $(CCENV)
|
|
-LDLIBS= -lsocket -lnsl
|
|
+#CFLAGS= -mr $(DEBUG) $(CCENV)
|
|
+CFLAGS= -g $(DEBUG) $(CCENV)
|
|
+#LDLIBS= -lsocket -lnsl
|
|
|
|
#CC=cc
|
|
-#CC=gcc
|
|
+CC=gcc
|
|
RM= /bin/rm -f
|
|
|
|
|
|
@@ -53,6 +55,11 @@
|
|
all: $(PROG)
|
|
|
|
$(OBJS): $(INCL)
|
|
+
|
|
+install: all
|
|
+ ${BSD_INSTALL_PROGRAM} qpage ${PREFIX}/bin
|
|
+ ${BSD_INSTALL_MAN} qpage.man ${PREFIX}/man/man1/qpage.1
|
|
+ ${BSD_INSTALL_DATA} example-qpage.cf ${PREFIX}/etc
|
|
|
|
$(PROG): $(OBJS)
|
|
$(RM) $(PROG)
|