3cb55e1da9
-Support for wide range of charsets aside from UTF-8. -New option for saving document using custom encoding.
28 lines
788 B
Makefile
28 lines
788 B
Makefile
# $NetBSD: Makefile,v 1.3 2021/06/09 07:55:29 pin Exp $
|
|
|
|
DISTNAME= monolith-2.6.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=Y2Z/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/Y2Z/monolith/
|
|
COMMENT= CLI tool for saving complete web pages as a single HTML file
|
|
LICENSE= cc0-1.0-universal
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
USE_LANGUAGES+= c
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
|
|
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
|
|
MAKE_ENV+= RUSTFLAGS=${RUSTFLAGS:Q}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/monolith ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|