blob: a39bfd4922d7a12ebf4117d3fd384a35e8de4310 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-ah,v 1.3 2010/10/24 16:55:03 pettai Exp $
--- Makefile.orig 2005-07-28 01:15:10.000000000 +0000
+++ Makefile
@@ -4,7 +4,7 @@
#################################################################
# CHANGE THIS LINE to point to the location of your pppd binary.
-PPPD = /usr/sbin/pppd
+#PPPD = /usr/sbin/pppd
#################################################################
BINDIR=$(DESTDIR)/usr/sbin
@@ -54,12 +54,12 @@ distclean: clobber
test: vector_test
install:
- mkdir -p $(BINDIR)
- install -o root -m 555 pptp $(BINDIR)
- mkdir -p $(MANDIR)
- install -m 644 pptp.8 $(MANDIR)
- mkdir -p $(PPPDIR)
- install -m 644 options.pptp $(PPPDIR)
+ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${BINDIR}
+ ${BSD_INSTALL_PROGRAM} pptp ${DESTDIR}${BINDIR}
+ ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANDIR}
+ ${BSD_INSTALL_MAN} pptp.8 ${DESTDIR}${MANDIR}
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PPPDIR}
+ ${BSD_INSTALL_DATA} options.pptp ${DESTDIR}${PPPDIR}
uninstall:
$(RM) $(BINDIR)/pptp $(MANDIR)/pptp.8
|