1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Update to 1.81b.

Whitespace fix.
Respect PREFIX != LOCALBASE.

PR:		ports/152763
Submitted by:	Ryan Steinmetz <rpsfa@rit.edu> (maintainer)
This commit is contained in:
Wesley Shields 2010-12-13 00:37:58 +00:00
parent 5b9f445cb0
commit 094aa6f754
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266162
4 changed files with 16 additions and 10 deletions

View File

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= skipfish
PORTVERSION= 1.67b
PORTVERSION= 1.81b
CATEGORIES= security www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
EXTRACT_SUFX= .tgz
@ -30,7 +30,7 @@ BROKEN= does not build on 6.x yet
.endif
post-patch:
@${REINPLACE_CMD} -e 's:"skipfish.wl":"${DATADIR}/dictionaries/default.wl":' \
@${REINPLACE_CMD} -e 's:"skipfish.wl":"${DATADIR}/dictionaries/complete.wl":' \
-e 's:"assets":"${DATADIR}/assets":' ${WRKSRC}/config.h
do-install:

View File

@ -1,3 +1,2 @@
MD5 (skipfish-1.67b.tgz) = 0815d59fa7cd5cf6050374561b6370b4
SHA256 (skipfish-1.67b.tgz) = e87d3e58e521d31ed3b814749eec1512553924bbfa03459841c025c7d161283a
SIZE (skipfish-1.67b.tgz) = 181520
SHA256 (skipfish-1.81b.tgz) = 292b0fa64d8920744613f4caffb67ef8123f2840c9c8a70c98c577ccec4d1dc4
SIZE (skipfish-1.81b.tgz) = 184023

View File

@ -1,6 +1,13 @@
--- ./Makefile.orig 2010-03-30 17:53:01.000000000 +0200
+++ ./Makefile 2010-04-11 19:05:39.000000000 +0200
@@ -30,7 +30,7 @@
--- Makefile.orig 2010-11-29 16:59:49.000000000 -0500
+++ Makefile 2010-12-12 19:24:29.000000000 -0500
@@ -26,12 +26,13 @@
INCFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \
database.h crawler.h analysis.h config.h report.h
-CFLAGS_GEN = -Wall -funsigned-char -g -ggdb -I/usr/local/include/ \
+_LOCALBASE ?= ${LOCALBASE}
+CFLAGS_GEN = -Wall -funsigned-char -g -ggdb -I$(LOCALBASE)/include/ \
-I/opt/local/include/ $(CFLAGS) -DVERSION=\"$(VERSION)\"
CFLAGS_DBG = -DLOG_STDERR=1 -DDEBUG_ALLOCATOR=1 $(CFLAGS_GEN)
CFLAGS_OPT = -O3 -Wno-format $(CFLAGS_GEN)
@ -9,7 +16,7 @@
LIBS += -lcrypto -lssl -lidn -lz
all: $(PROGNAME)
@@ -38,12 +38,12 @@
@@ -39,12 +40,12 @@
$(PROGNAME): $(PROGNAME).c $(OBJFILES) $(INCFILES)
$(CC) $(LDFLAGS) $(PROGNAME).c -o $(PROGNAME) $(CFLAGS_OPT) \
$(OBJFILES) $(LIBS)

View File

@ -25,7 +25,7 @@ bin/skipfish
%%DATADIR%%/assets/sf_name.png
%%DATADIR%%/dictionaries/README-FIRST
%%DATADIR%%/dictionaries/complete.wl
%%DATADIR%%/dictionaries/default.wl
%%DATADIR%%/dictionaries/medium.wl
%%DATADIR%%/dictionaries/extensions-only.wl
%%DATADIR%%/dictionaries/minimal.wl
@dirrm %%DATADIR%%/dictionaries