1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/www/lynx/files/patch-aa
Andrey A. Chernov e01baf4d09 Makefile changed
1996-07-21 04:41:21 +00:00

81 lines
2.7 KiB
Plaintext

*** Makefile.orig Thu Jul 18 18:18:08 1996
--- Makefile Sun Jul 21 08:36:58 1996
***************
*** 11,28 ****
##change the next line if you want lynx installed somewhere
##besides /usr/local/bin
! exec= /usr/local/bin
##change the next line if you want the lynx man file installed somewhere
##besides /usr/local/man/man1
! doc= /usr/local/man/man1
##change the next line if you want the lynx.cfg file installed somewhere
##besides /usr/local/lib
! cfg= /usr/local/lib
! installbin= install -c -s -m 555
! installdoc= install -c -m 444
##set the relative location of the WWW library Implementation directory,
##from this directory
--- 11,28 ----
##change the next line if you want lynx installed somewhere
##besides /usr/local/bin
! exec= ${PREFIX}/bin
##change the next line if you want the lynx man file installed somewhere
##besides /usr/local/man/man1
! doc= ${PREFIX}/man/man1
##change the next line if you want the lynx.cfg file installed somewhere
##besides /usr/local/lib
! cfg= ${PREFIX}/etc
! installbin= ${INSTALL} -c -s -m ${BINMODE} -o ${BINOWN} -g ${BINGRP}
! installdoc= ${INSTALL} -c -m 444 -o ${BINOWN} -g ${BINGRP}
##set the relative location of the WWW library Implementation directory,
##from this directory
***************
*** 394,401 ****
# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
freebsd-ncurses:
cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES -DUNIX \
! -DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lncurses -lmytinfo \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
--- 394,401 ----
# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
freebsd-ncurses:
cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES -DNCURSESHEADER -DUNIX \
! -DLYNX_CFG_FILE='\"${PREFIX}/etc/lynx.cfg\"' -DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lncurses -lmytinfo \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
***************
*** 902,908 ****
install:
-mv -f $(exec)/lynx $(exec)/lynx.old
- -mv -f $(cfg)/lynx.cfg $(cfg)/lynx.oldcfg
$(installbin) lynx $(exec)/lynx
$(installdoc) lynx.man $(doc)/lynx.1
! $(installdoc) lynx.cfg $(cfg)/lynx.cfg
--- 902,911 ----
install:
-mv -f $(exec)/lynx $(exec)/lynx.old
$(installbin) lynx $(exec)/lynx
$(installdoc) lynx.man $(doc)/lynx.1
! if [ -f $(cfg)/lynx.cfg ] ; then \
! $(installdoc) lynx.cfg $(cfg)/lynx.cfg-dist; \
! else \
! $(installdoc) lynx.cfg $(cfg)/lynx.cfg; \
! fi