![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / news / pan / Makefile (download)
Revision 1.111, Sun May 2 10:24:51 2021 UTC (2 years, 7 months ago) by nia
*: Use the tools framework for itstool Now it should be more obvious when a package needs it as a dependency, as it will fail loudly if it isn't declared as a tool. While here, some duplicate dependencies on itstool were removed from the MATE packages |
# $NetBSD: Makefile,v 1.111 2021/05/02 10:24:51 nia Exp $ DISTNAME= pan-0.146 PKGREVISION= 6 CATEGORIES= news MASTER_SITES= http://pan.rebelbase.com/download/releases/${DISTNAME:C/pan-//}/source/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= rhialto@NetBSD.org HOMEPAGE= http://pan.rebelbase.com/ COMMENT= Newsreader for GTK2 LICENSE= gnu-gpl-v2 USE_TOOLS+= gmake msgfmt perl pkg-config itstool USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+= --with-gnutls .include "../../mk/bsd.prefs.mk" .if (${OPSYS} != "Darwin" && ${OPSYS} != "SunOS" && ${OPSYS} != "Linux") LIBS+= -lcompat .endif LIBS.SunOS+= -lsocket -liconv # temporary fix for GLib 2.68 breakage # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1963 CXXFLAGS+= -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 # "Build" these files out of thin air, since base msgfmt doesn't know # about --xml --desktop. pre-build: ${CP} ${FILESDIR}/pan.appdata.xml ${WRKSRC}/ ${CP} ${FILESDIR}/pan.desktop ${WRKSRC}/ .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../mail/gmime/buildlink3.mk" .include "../../security/gnutls/buildlink3.mk" .include "../../textproc/gtkspell/buildlink3.mk" BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.16.0 .include "../../x11/gtk2/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/bsd.pkg.mk"