- remove unnecessary patches

- use DESTDIRNAME
This commit is contained in:
brad 2002-06-23 18:23:03 +00:00
parent 190e993be3
commit db1541d1f7
3 changed files with 5 additions and 41 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2002/06/16 15:26:58 naddy Exp $
# $OpenBSD: Makefile,v 1.8 2002/06/23 18:23:03 brad Exp $
COMMENT= "small and efficient HTTP crawler"
@ -19,7 +19,10 @@ MASTER_SITES= http://www.monkey.org/~provos/
LIB_DEPENDS= db::databases/db
CONFIGURE_STYLE= autoconf
DESTDIRNAME= install_prefix
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-db="${LOCALBASE}"
WRKDIST= ${WRKDIR}/crawl

View File

@ -1,28 +0,0 @@
--- Makefile.in.orig Sun Jul 22 17:24:41 2001
+++ Makefile.in Sun Jul 22 17:26:44 2001
@@ -3,12 +3,13 @@
srcdir = @srcdir@
VPATH = @srcdir@
-install_prefix =
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@
+DESTDIR =
+
CC = @CC@
CFLAGS = -Wall @CFLAGS@ @USRINCLUDE@ -I$(srcdir) \
-I$(srcdir)/missing @DBINC@ @EVENTINC@
@@ -29,8 +30,8 @@ crawl: $(OBJS)
$(CC) $(CFLAGS) $(INCS) -o $@ $(OBJS) $(LIBS)
install: all
- $(INSTALL_PROG) -m 755 crawl $(install_prefix)$(bindir)
- $(INSTALL_DATA) crawl.1 $(install_prefix)$(mandir)/man1
+ $(INSTALL_PROG) -m 755 crawl $(DESTDIR)$(bindir)
+ $(INSTALL_DATA) crawl.1 $(DESTDIR)$(mandir)/man1
clean:
rm -f crawl *~ *.core *.db $(OBJS)

View File

@ -1,11 +0,0 @@
--- configure.orig Thu Jul 19 12:21:50 2001
+++ configure Thu Jul 19 12:22:01 2001
@@ -9,7 +9,7 @@
# Defaults:
ac_help=
-ac_default_prefix=/usr/local
+ac_default_prefix=${LOCALBASE}
# Any additions from configure.in:
ac_help="$ac_help
--with-libevent=DIR use libevent build directory"