diff options
| author | Trevor Johnson <trevor@FreeBSD.org> | 2001-01-31 23:14:09 +0000 |
|---|---|---|
| committer | Trevor Johnson <trevor@FreeBSD.org> | 2001-01-31 23:14:09 +0000 |
| commit | f8169b4d6b4d018b2d10f09cae1d4572591362ad (patch) | |
| tree | 48fc35fce3958be619f973a51c55de14d9edde03 /www/wb0/files/patch-Makefile | |
| parent | d4b9914b7f76d7ccf755705746be28ce0dcfc7a2 (diff) | |
new port of wb0, a Web browser for the VGA console which can display
pictures
Diffstat (limited to 'www/wb0/files/patch-Makefile')
| -rw-r--r-- | www/wb0/files/patch-Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www/wb0/files/patch-Makefile b/www/wb0/files/patch-Makefile new file mode 100644 index 000000000000..f5c6ab7ca19f --- /dev/null +++ b/www/wb0/files/patch-Makefile @@ -0,0 +1,30 @@ +--- Makefile.orig Mon Dec 6 00:45:08 1999 ++++ Makefile Wed Jan 31 14:58:33 2001 +@@ -1,16 +1,17 @@ +- +-CFLAGS=-O2 -Wall -fomit-frame-pointer -malign-functions=0 +-LDFLAGS= -lm -s -lvga -lvgagl -ljpeg -lpng -lz ++PREFIX?= /usr/local ++CFLAGS+= -I${LOCALBASE}/include ++LDFLAGS= -L${LOCALBASE}/lib -lm -s -lvga -lvgagl -ljpeg -lpng -lz + + all: wb0 +- ++ + install: +- mkdir -p /etc/wb0 +- cp ./etc/wb0/* /etc/wb0 +- cp ./wb0 /usr/local/bin/wb0 +- echo "path `pwd`/data/" >>/etc/wb0/wb0.config +- chmod a+s /usr/local/bin/wb0 +- chown root:root /usr/local/bin/wb0 ++ mkdir -p ${PREFIX}/share/wb0 ++ cp ./wb0 ${PREFIX}/bin ++ cp ./etc/wb0/wb0.config ${PREFIX}/etc/ ++ cp ./data/* ${PREFIX}/share/wb0/ ++ echo "path ${PREFIX}/share/wb0/" >>${PREFIX}/etc/wb0.config ++ chmod a+s ${PREFIX}/bin/wb0 ++ chown root:wheel ${LOCALBASE}/bin/wb0 + + pkfont: pkfont.c + |
