openbsd-ports/net/netpipe/patches/patch-aa
1998-07-25 23:18:38 +00:00

29 lines
878 B
Plaintext

--- Makefile.~1~ Tue Jul 7 10:13:07 1998
+++ Makefile Sat Jul 25 16:02:01 1998
@@ -17,7 +17,7 @@
# You probably want to change this:
#INSTROOT = ${HOME}
-INSTROOT = /depot/collections0/netpipes4.1
+INSTROOT = ${PREFIX}
#INSTROOT = /usr/local
INSTBIN = ${INSTROOT}/bin
INSTMAN = ${INSTROOT}/man
@@ -133,13 +133,13 @@
install : all
test -d ${INSTROOT} || mkdir ${INSTROOT}
test -d ${INSTBIN} || mkdir ${INSTBIN}
- cp ${PROGRAMS} ${INSTBIN}/
+ ${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
- cp ${MANPAGES} ${INSTMAN}/man1/
+ ${BSD_INSTALL_MAN} ${MANPAGES} ${INSTMAN}/man1/
#