[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / snownews

File: [cvs.NetBSD.org] / pkgsrc / www / snownews / Makefile (download)

Revision 1.69, Wed Oct 26 10:32:06 2022 UTC (3 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.68: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.69 2022/10/26 10:32:06 wiz Exp $

DISTNAME=	snownews-1.9
PKGREVISION=	3
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_GITHUB:=msharov/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/msharov/snownews
COMMENT=	Small, curses based RSS feed reader
LICENSE=	gnu-gpl-v3

USE_TOOLS+=	gmake msgfmt pkg-config
HAS_CONFIGURE=	yes
FAKE_NCURSES=	yes
USE_CURSES=	wide

LDFLAGS+=		${BUILDLINK_LDADD.curses}
LDFLAGS+=		${BUILDLINK_LDADD.gettext}
CFLAGS.SunOS+=		-D_POSIX_PTHREAD_SEMANTICS
BUILDLINK_TRANSFORM+=	opt:-std=c11:-std=gnu11 # PATH_MAX not visible with strict C11

USE_PKGLOCALEDIR=	yes

CONFIGURE_ARGS+=	--prefix=${PREFIX}
CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+=	--localedir=${PREFIX}/${PKGLOCALEDIR}/locale

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"