pkgsrc/textproc/paperoni/Makefile
tnn 813ba826fd paperoni: rename the distfile to a distinguished name
NB: The PKGNAME should really be paperoni-0.6.1alpha1 since the distfile is
named alpha1, but opting not to trigger a downgrade here.
2022-08-17 12:32:52 +00:00

28 lines
768 B
Makefile

# $NetBSD: Makefile,v 1.9 2022/08/17 12:32:52 tnn Exp $
DISTNAME= paperoni-v0.6.1-alpha1
PKGNAME= paperoni-0.6.1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=hipstermojo/}
GITHUB_PROJECT= paperoni
GITHUB_TAG= v0.6.1-alpha1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/hipstermojo/paperoni/
COMMENT= Article extractor in Rust
LICENSE= mit
.include "cargo-depends.mk"
INSTALLATION_DIRS= bin
MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/paperoni \
${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"