summaryrefslogtreecommitdiff
path: root/textproc/kepubify/Makefile
blob: aedd4b335327585ea1ffe22afd8f0b423211c93d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PORTNAME=	kepubify
DISTVERSIONPREFIX=	v
DISTVERSION=	4.0.4
PORTREVISION=	20
CATEGORIES=	textproc converters

MAINTAINER=	fuz@FreeBSD.org
COMMENT=	EPUB to KEPUB converter
WWW=		https://pgaskin.net/kepubify

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_MODULE=	github.com/pgaskin/kepubify/v4

GO_TARGET=	./cmd/covergen ./cmd/kepubify ./cmd/seriesmeta
GO_BUILDFLAGS=	-ldflags '-X main.version=${DISTVERSIONPREFIX}${DISTVERSION}'
PLIST_FILES=	bin/covergen \
		bin/kepubify \
		bin/seriesmeta

.include <bsd.port.mk>