# New ports collection makefile for:	curators
# Date created:			24 Apr 2026
# Whom:					Shin-ichi Nagamura <core@zsc.jp>
#
# $Id: Makefile 365 2026-07-26 17:38:45Z core_agent $
#

PORTNAME=		curators
PORTVERSION=	${REVISION}
NO_BUILD=		yes

MAINTAINER=		info@zsc.jp
COMMENT=		ashiato curators

USES=			python

RUN_DEPENDS+=	ashiato-python>=0:ashiato/python
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}opencv-python-headless>=0:graphics/py-opencv-python-headless

PLIST_FILES+=	etc/periodic/ashiato/blur
PLIST_FILES+=	share/ashiato-blur/requirements.txt
PLIST_FILES+=	etc/periodic/ashiato/exposure
PLIST_FILES+=	share/ashiato-exposure/requirements.txt


do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/ashiato
	${INSTALL_SCRIPT} ${FILESDIR}/blur ${STAGEDIR}${PREFIX}/etc/periodic/ashiato/blur
	${MKDIR} ${STAGEDIR}${PREFIX}/share/ashiato-blur
	${INSTALL_DATA} ${WRKSRC}/apps/blur/requirements.txt ${STAGEDIR}${PREFIX}/share/ashiato-blur
	${INSTALL_SCRIPT} ${FILESDIR}/exposure ${STAGEDIR}${PREFIX}/etc/periodic/ashiato/exposure
	${MKDIR} ${STAGEDIR}${PREFIX}/share/ashiato-exposure
	${INSTALL_DATA} ${WRKSRC}/apps/exposure/requirements.txt ${STAGEDIR}${PREFIX}/share/ashiato-exposure


.include <bsd.port.mk>
