pkgsrc/news/pan/Makefile
2021-12-08 16:01:42 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.118 2021/12/08 16:06:10 adam Exp $
DISTNAME= pan-0.147
PKGREVISION= 4
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
# "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"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"