openbsd-ports/net/netpipe/patches/patch-aa

29 lines
878 B
Plaintext
Raw Normal View History

1998-07-25 19:18:38 -04:00
--- Makefile.~1~ Tue Jul 7 10:13:07 1998
+++ Makefile Sat Jul 25 16:02:01 1998
1997-11-17 22:28:20 -05:00
@@ -17,7 +17,7 @@
# You probably want to change this:
#INSTROOT = ${HOME}
1998-07-25 19:18:38 -04:00
-INSTROOT = /depot/collections0/netpipes4.1
1997-11-17 22:28:20 -05:00
+INSTROOT = ${PREFIX}
1998-07-25 19:18:38 -04:00
#INSTROOT = /usr/local
1997-11-17 22:28:20 -05:00
INSTBIN = ${INSTROOT}/bin
INSTMAN = ${INSTROOT}/man
1998-07-25 19:18:38 -04:00
@@ -133,13 +133,13 @@
1997-11-17 22:28:20 -05:00
install : all
1998-07-25 19:18:38 -04:00
test -d ${INSTROOT} || mkdir ${INSTROOT}
test -d ${INSTBIN} || mkdir ${INSTBIN}
1997-11-17 22:28:20 -05:00
- cp ${PROGRAMS} ${INSTBIN}/
1998-07-25 19:18:38 -04:00
+ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
- rm -f ${INSTBIN}/getsockname
ln -s getpeername ${INSTBIN}/getsockname
- - [ -x ssl-auth ] && cp ssl-auth ${INSTBIN}/
+ - [ -x ssl-auth ] && ${BSD_INSTALL_PROGRAM} ssl-auth ${INSTBIN}/
test -d ${INSTMAN} || mkdir ${INSTMAN}
test -d ${INSTMAN}/man1 || mkdir ${INSTMAN}/man1
1997-11-17 22:28:20 -05:00
- cp ${MANPAGES} ${INSTMAN}/man1/
+ ${BSD_INSTALL_MAN} ${MANPAGES} ${INSTMAN}/man1/
1998-07-25 19:18:38 -04:00
#