summaryrefslogtreecommitdiff
path: root/network/wvdial/Makefile.diff
diff options
context:
space:
mode:
authorVincent Batts <vbatts@batts.mine.nu>2010-05-11 22:55:05 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:55:05 +0200
commit6bcbf9f38260f529b65261f04b6cdf3ca74e2b55 (patch)
tree739c6ee4ca05e36d5048b13f7b66de69b3a7bdb6 /network/wvdial/Makefile.diff
parent17e3df9f9a2d7f28d2dc16098e2b4e6bf779a405 (diff)
downloadslackbuilds-6bcbf9f38260f529b65261f04b6cdf3ca74e2b55.tar.gz
network/wvdial: Added to 12.1 repository
Diffstat (limited to 'network/wvdial/Makefile.diff')
-rw-r--r--network/wvdial/Makefile.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/network/wvdial/Makefile.diff b/network/wvdial/Makefile.diff
new file mode 100644
index 0000000000..95f7b4a98f
--- /dev/null
+++ b/network/wvdial/Makefile.diff
@@ -0,0 +1,29 @@
+--- Makefile.ORIG 2008-05-10 22:59:21.000000000 -0500
++++ Makefile 2008-05-10 23:01:31.000000000 -0500
+@@ -35,17 +36,17 @@
+ wvdial wvdialconf papchaptest pppmon: wvdial.a
+
+ install-bin: all
+- [ -d ${BINDIR} ] || install -d ${BINDIR}
+- [ -d ${PPPDIR} ] || install -d ${PPPDIR}
+- install -m 0755 wvdial wvdialconf ${BINDIR}
+- cp ppp.provider ${PPPDIR}/wvdial
+- cp ppp.provider-pipe ${PPPDIR}/wvdial-pipe
++ [ -d $(DESTDIR)/${BINDIR} ] || install -d $(DESTDIR)/${BINDIR}
++ [ -d $(DESTDIR)/${PPPDIR} ] || install -d $(DESTDIR)/${PPPDIR}
++ install -m 0755 wvdial wvdialconf $(DESTDIR)/${BINDIR}
++ cp ppp.provider $(DESTDIR)/${PPPDIR}/wvdial
++ cp ppp.provider-pipe $(DESTDIR)/${PPPDIR}/wvdial-pipe
+
+ install-man:
+- [ -d ${MANDIR}/man1 ] || install -d ${MANDIR}/man1
+- [ -d ${MANDIR}/man5 ] || install -d ${MANDIR}/man5
+- install -m 0644 wvdial.1 wvdialconf.1 ${MANDIR}/man1
+- install -m 0644 wvdial.conf.5 ${MANDIR}/man5
++ [ -d $(DESTDIR)/${MANDIR}/man1 ] || install -d $(DESTDIR)/${MANDIR}/man1
++ [ -d $(DESTDIR)/${MANDIR}/man5 ] || install -d $(DESTDIR)/${MANDIR}/man5
++ install -m 0644 wvdial.1 wvdialconf.1 $(DESTDIR)/${MANDIR}/man1
++ install -m 0644 wvdial.conf.5 $(DESTDIR)/${MANDIR}/man5
+
+ install: install-bin install-man
+