1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/sysutils/snowlog/files/patch-Makefile
Vanilla I. Shu 51939469a0 Add snowlog 1.0, a webserver access log browser/analyzer.
PR:		ports/69783
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
2004-07-30 19:26:52 +00:00

28 lines
903 B
Plaintext

--- Makefile.orig Thu Jul 29 03:04:24 2004
+++ Makefile Fri Jul 30 09:45:19 2004
@@ -1,13 +1,10 @@
-CC= gcc
-MAKE= make
INSTALL= install
-PREFIX= /usr/local
DATAPATH= $(PREFIX)/share
LOCALEPATH= $(DATAPATH)/locale
DOCPATH= $(DATAPATH)/doc
-CFLAGS= -Wall -O2 -I/usr/local/include -DDATAPATH="\"$(DATAPATH)\"" -DVERSION=\"$(VERSION)\"
-LDFLAGS= -L/usr/local/lib -lncurses -lpcre
+CFLAGS+= -Wall -O2 -I$(LOCALBASE)/include -DDATAPATH="\"$(DATAPATH)\"" -DVERSION=\"$(VERSION)\"
+LDFLAGS= -L$(LOCALBASE)/lib -lncurses -lpcre
OBJFILES= main.o loadlog.o internals.o interface.o snowtk.o regexp.o filters.o setup.o
@@ -27,7 +24,7 @@
sed s#DATAPATH#$(DATAPATH)# | sed s#VERSION#$(VERSION)# \
> doc/man/snowlog.1
-install: install-bin install-data install-man install-doc
+install: install-bin install-man
install-bin: snowlog
if [ ! -d "$(PREFIX)/bin" ]; then \