1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/net/asterisk-app-notify/files/patch-Makefile
Rong-En Fan de6e55af8e - Update to 2.0 RC1 which works with Asterisk 1.4
PR:		ports/117475
Submitted by:	Mayo Jordanov <mayo at oyam.ca> (maintainer)
2008-02-07 17:18:48 +00:00

28 lines
651 B
Plaintext

--- Makefile.orig Thu Feb 1 04:08:39 2007
+++ Makefile Thu Oct 25 00:05:18 2007
@@ -7,6 +7,7 @@
#
NAME=app_notify
+CONF=extensions_dialer.conf
CC=gcc
CFLAGS=$(shell ./cflags.sh)
@@ -21,7 +22,7 @@
CC=gcc -arch ppc -arch i386
else
SOLINK=-shared -Xlinker -x
- MODULES_DIR=/usr/lib/asterisk/modules
+ MODULES_DIR=$(LOCALBASE)/lib/asterisk/modules
endif
RES=$(NAME).so
@@ -35,6 +36,7 @@
rm -f $(NAME).o $(NAME).so notifyClient.o notifyClient sampleClient
install: all
+ install -m 644 $(CONF).sample $(LOCALBASE)/etc/asterisk/$(CONF).sample ; \
if [ -f $(NAME).so ]; then \
install -m 755 $(NAME).so $(MODULES_DIR) ; \
fi