diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-25 21:48:09 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-25 21:48:09 +0000 |
| commit | 0a9be1dffc5c9f0c4a9cfe83d98bee1e37926560 (patch) | |
| tree | 02597f4c975a9f490ceed861cbd7921c81e023ab /net/asterisk-app-notify/files | |
| parent | These have now been committed to ports/Mk, so they are unneeded now. (diff) | |
Asterisk Notify is an Asterisk module which can be configured to send
notifications over the network to announce the callers name and telephone
number to a desktop PC.
WWW: http://www.mezzo.net/asterisk/app_notify.html
PR: ports/110547
Submitted by: Mayo Jordanov <mayo@oyam.ca>
Diffstat (limited to 'net/asterisk-app-notify/files')
| -rw-r--r-- | net/asterisk-app-notify/files/patch-Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net/asterisk-app-notify/files/patch-Makefile b/net/asterisk-app-notify/files/patch-Makefile new file mode 100644 index 000000000000..8dc2cee71eb8 --- /dev/null +++ b/net/asterisk-app-notify/files/patch-Makefile @@ -0,0 +1,33 @@ +--- Makefile.orig Fri Mar 23 21:14:57 2007 ++++ Makefile Sat Mar 24 00:09:09 2007 +@@ -9,7 +9,7 @@ + NAME=app_notify + CONF=dialer_extensions.conf + +-CFLAGS=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC ++CFLAGS+= -g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC -I$(LOCALBASE)/include + LIBS= + RES=$(NAME).so + +@@ -19,7 +19,7 @@ + SOLINK=-shared -Xlinker -x + endif + +-MODULES_DIR=/usr/lib/asterisk/modules ++MODULES_DIR=$(PREFIX)/lib/asterisk/modules + + app_notify.so : app_notify.o + $(CC) $(SOLINK) -o $@ $< +@@ -30,10 +30,9 @@ + rm -f $(NAME).o $(NAME).so notifyClient.o notifyClient sampleClient + + install: all +- if ! [ -f /etc/asterisk/$(CONF) ]; then \ +- install -m 644 $(CONF).sample /etc/asterisk/$(CONF) ; \ +- fi ++ install -m 644 $(CONF).sample $(PREFIX)/etc/asterisk/$(CONF).sample ; \ + if [ -f $(NAME).so ]; then \ ++ mkdir -p $(MODULES_DIR) ; \ + install -m 755 $(NAME).so $(MODULES_DIR) ; \ + fi + |
