summaryrefslogtreecommitdiff
path: root/net/linuxigd/files/patch-Makefile
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2002-08-04 07:37:39 +0000
committerClive Lin <clive@FreeBSD.org>2002-08-04 07:37:39 +0000
commitaf66874f38783fd619cc9b725409496d06308801 (patch)
tree370e03814869f348b033aff35eef9ad8dd8ff4c6 /net/linuxigd/files/patch-Makefile
parentNew port: SDK for UPnP Devices (diff)
New port: linuxigd, Linux UPnP Internet Gateway Device.
This project is a deamon that emulates Microsoft's Internet Connection Service (ICS). It implements the UPnP Internet Gateway Device specification (IGD) and allows UPnP aware clients, such as MSN Messenger to work properly from behind a NAT firewall. PR: ports/41295 Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com> Submitter sponsored by: Miss WeiWei.
Notes
Notes: svn path=/head/; revision=63954
Diffstat (limited to 'net/linuxigd/files/patch-Makefile')
-rw-r--r--net/linuxigd/files/patch-Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/linuxigd/files/patch-Makefile b/net/linuxigd/files/patch-Makefile
new file mode 100644
index 000000000000..d2297bebb078
--- /dev/null
+++ b/net/linuxigd/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Thu May 2 23:53:12 2002
++++ Makefile Sat Aug 3 22:10:53 2002
+@@ -1,6 +1,6 @@
+ CC=g++
+-INCLUDES= -I/usr/include/upnp
+-LIBS= -lpthread /usr/lib/libupnp.so
++INCLUDES= -I$(PREFIX)/include
++LIBS= $(PTHREAD_LIBS) $(PREFIX)/lib/libupnp.so
+
+
+ ifeq ($(DEBUG),1)
+@@ -26,7 +26,7 @@
+ rm -f *.o $(APPS)
+
+ install: upnpd
+- @install -d /etc/linuxigd
+- @install etc/* /etc/linuxigd
+- @install upnpd /usr/bin
++ @install -d $(PREFIX)/etc/linuxigd
++ @$(BSD_INSTALL_DATA) etc/* $(PREFIX)/etc/linuxigd
++ @$(BSD_INSTALL_PROGRAM) upnpd $(PREFIX)/bin
+