# FreeBSD ports skeleton for OpenWebSpider.
#
# Normal FreeBSD flow:
# 1. users install the binary package with pkg(8);
# 2. maintainers/users build this port only when they need a source build.

PORTNAME=	openwebspider
DISTVERSION=	0.8
CATEGORIES=	www
MASTER_SITES=	# fill with release tarball URL

MAINTAINER=	ports@example.invalid
COMMENT=	Small C web crawler and search indexer
WWW=		https://www.openwebspider.org/

LICENSE=	GPLv2+

LIB_DEPENDS=	libmariadb.so:databases/mariadb-connector-c
RUN_DEPENDS=	pdftotext:graphics/poppler-utils \
		ffprobe:multimedia/ffmpeg

USES=		gmake pkgconfig ssl

MAKE_ARGS=	UNAME_S=FreeBSD \
		PREFIX=${PREFIX} \
		LOCALBASE=${LOCALBASE} \
		SYSCONFDIR=${ETCDIR}

INSTALL_TARGET=	install

.include <bsd.port.mk>
