freebsd-ports/deskutils/griffith/Makefile
Felix Palmen 7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00

49 lines
1.4 KiB
Makefile

PORTNAME= griffith
PORTVERSION= 0.15
CATEGORIES= deskutils
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight film collection manager
WWW= https://www.griffith.cc/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy12>=1.1:databases/py-sqlalchemy12@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}reportlab>=3.4:print/py-reportlab@${PY_FLAVOR}
USES= gettext-runtime gmake gnome python shebangfix
USE_GITLAB= yes
GL_ACCOUNT= Strit
GL_TAGNAME= a593201179695efe93829d9c9a70962ef29dd109
SHEBANG_FILES= griffith
USE_GNOME= pygobject3
NO_BUILD= yes
NO_ARCH= yes
OPTIONS_DEFINE= CHARDET
CHARDET_DESC= chardet support
CHARDET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR}
post-patch:
.for file in Makefile
@${REINPLACE_CMD} -e \
'/^LANGUAGES=/s|find.*|cd i18n/\&\&ls -d *)|g ; \
/^PREFIX/s|?=|=|g ; s|/usr|${PREFIX}|; /ln -s/d; /chmod +x/d; \
/^ETCDIR/s|=.*|= $$(PREFIX)/etc|g' ${WRKSRC}/${file}
.endfor
.for f in docs/en/Makefile docs/pl/Makefile docs/pt/Makefile
@${REINPLACE_CMD} -e \
'/^PREFIX/s|?=|=|g ; s|/usr|${PREFIX}|; \
/^MANDIR/s|=.*|=${STAGEDIR}${MANPREFIX}/man|g' \
${WRKSRC}/${f}
.endfor
post-install:
${RLN} ${STAGEDIR}${DATADIR}/lib/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>