summaryrefslogtreecommitdiff
path: root/net/linuxigd/files/patch-Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-09 15:40:50 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-09 15:40:50 +0000
commit1efc3f8bffb6f5e13f8a92174e3f12678410a668 (patch)
treede728291e4ef024a2a7228f122f2153fc4febd28 /net/linuxigd/files/patch-Makefile
parentImport librevenge (needed for newer version of most of LibreOffice dependencies (diff)
1: Stagify.
2: convert to new format of LIB_DEPENDS 3: add @sample to pkg-plist.
Notes
Notes: svn path=/head/; revision=357175
Diffstat (limited to 'net/linuxigd/files/patch-Makefile')
-rw-r--r--net/linuxigd/files/patch-Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/net/linuxigd/files/patch-Makefile b/net/linuxigd/files/patch-Makefile
index 9f0c9410b85b..3427383e152c 100644
--- a/net/linuxigd/files/patch-Makefile
+++ b/net/linuxigd/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Sun Jun 17 00:17:05 2007
-+++ Makefile Sun Jun 17 00:18:25 2007
+--- Makefile.orig 2006-05-24 06:16:36.000000000 +0800
++++ Makefile 2014-06-09 23:38:21.146264899 +0800
@@ -1,25 +1,11 @@
-PREFIX=/usr
-LIBUPNP_PREFIX=/usr
@@ -28,7 +28,7 @@
all: upnpd
upnpd: $(FILES)
-@@ -33,11 +19,12 @@
+@@ -33,11 +19,11 @@ clean:
rm -f *.o upnpd
install: upnpd
@@ -40,12 +40,11 @@
- install upnpd $(PREFIX)/sbin
- install upnpd.8 $(PREFIX)/share/man/man8
- if [ ! -f /etc/upnpd.conf ]; then install etc/upnpd.conf /etc; fi
-+ install -d $(PREFIX)/etc/linuxigd
-+ $(BSD_INSTALL_DATA) etc/gatedesc.xml $(PREFIX)/etc/linuxigd
-+ $(BSD_INSTALL_DATA) etc/gateconnSCPD.xml $(PREFIX)/etc/linuxigd
-+ $(BSD_INSTALL_DATA) etc/gateicfgSCPD.xml $(PREFIX)/etc/linuxigd
-+ $(BSD_INSTALL_DATA) etc/dummy.xml $(PREFIX)/etc/linuxigd
-+ $(BSD_INSTALL_PROGRAM) upnpd $(PREFIX)/sbin
-+ $(BSD_INSTALL_DATA) upnpd.8 $(PREFIX)/man/man8
-+ $(BSD_INSTALL_DATA) etc/upnpd.conf $(PREFIX)/etc/upnpd.conf.sample
-+ if [ ! -f $(PREFIX)/etc/upnpd.conf ]; then $(BSD_INSTALL_DATA) $(PREFIX)/etc/upnpd.conf.sample $(PREFIX)/etc/upnpd.conf; fi
++ install -d $(DESTDIR)$(PREFIX)/etc/linuxigd
++ $(BSD_INSTALL_DATA) etc/gatedesc.xml $(DESTDIR)$(PREFIX)/etc/linuxigd
++ $(BSD_INSTALL_DATA) etc/gateconnSCPD.xml $(DESTDIR)$(PREFIX)/etc/linuxigd
++ $(BSD_INSTALL_DATA) etc/gateicfgSCPD.xml $(DESTDIR)$(PREFIX)/etc/linuxigd
++ $(BSD_INSTALL_DATA) etc/dummy.xml $(DESTDIR)$(PREFIX)/etc/linuxigd
++ $(BSD_INSTALL_PROGRAM) upnpd $(DESTDIR)$(PREFIX)/sbin
++ $(BSD_INSTALL_DATA) upnpd.8 $(DESTDIR)$(PREFIX)/man/man8
++ $(BSD_INSTALL_DATA) etc/upnpd.conf $(DESTDIR)$(PREFIX)/etc/upnpd.conf.sample