blob: 3aaf184dbc51a99a6f7f0db7f3bf0925fad7659a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.17 2011/02/11 21:22:05 tnn Exp $
DISTNAME= crawl-0.4
PKGREVISION= 9
CATEGORIES= www
MASTER_SITES= http://monkey.org/~provos/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://monkey.org/~provos/crawl/
COMMENT= Small and efficient HTTP crawler
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_DB185= yes
# BDB detection is not sufficient, specify manually instead.
CONFIGURE_ARGS+= --with-db=yes
CONFIGURE_ENV+= DBLIB=${BDB_LIBS:Q}
CPPFLAGS+= -DHAVE_DB_185_H
CONF_FILES= ${PREFIX}/share/examples/crawl/crawl.conf ${PKG_SYSCONFDIR}/crawl.conf
INSTALLATION_DIRS+= share/examples/crawl
post-install:
${INSTALL_DATA} ${WRKSRC}/crawl.conf ${DESTDIR}${PREFIX}/share/examples/crawl/crawl.conf
SUBST_CLASSES+= path
SUBST_STAGE.path= post-patch
SUBST_FILES.path= cfg.h
SUBST_SED.path= -e 's,crawl.conf,${PKG_SYSCONFDIR}/crawl.conf,g'
SUBST_MESSAGE.path= Fixing hardcoded path.
.include "../../devel/libevent/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|