2010-02-16 19:11:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2010/02/16 18:11:52 joerg Exp $
|
2005-01-18 18:46:31 +01:00
|
|
|
|
|
|
|
DISTNAME= crawl-0.4
|
2009-08-16 17:35:43 +02:00
|
|
|
PKGREVISION= 8
|
2005-01-18 18:46:31 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://monkey.org/~provos/
|
|
|
|
|
2007-05-18 12:03:30 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-01-18 18:46:31 +01:00
|
|
|
HOMEPAGE= http://monkey.org/~provos/crawl/
|
|
|
|
COMMENT= Small and efficient HTTP crawler
|
|
|
|
|
2010-02-16 19:11:52 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-01-18 18:46:31 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_DB185= yes
|
|
|
|
|
2010-02-16 19:11:52 +01:00
|
|
|
CONF_FILES= ${PREFIX}/share/examples/crawl/crawl.conf ${PKG_SYSCONFDIR}/crawl.conf
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= share/examples/crawl
|
2005-01-18 18:46:31 +01:00
|
|
|
|
|
|
|
post-install:
|
2010-02-16 19:11:52 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/crawl.conf ${DESTDIR}${PREFIX}/share/examples/crawl/crawl.conf
|
2005-01-18 18:46:31 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= path
|
2005-01-18 18:46:31 +01:00
|
|
|
SUBST_STAGE.path= post-patch
|
|
|
|
SUBST_FILES.path= cfg.h
|
|
|
|
SUBST_SED.path= -e 's,crawl.conf,${PKG_SYSCONFDIR}/crawl.conf,g'
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.path= Fixing hardcoded path.
|
2005-01-18 18:46:31 +01:00
|
|
|
|
|
|
|
.include "../../devel/libevent/buildlink3.mk"
|
|
|
|
.include "../../mk/bdb.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|