pkgsrc/devel/appdata-tools/Makefile

29 lines
958 B
Makefile

# $NetBSD: Makefile,v 1.4 2014/10/07 16:47:21 adam Exp $
DISTNAME= appdata_tools_0_1_7
PKGNAME= ${DISTNAME:S/appdata_tools_/appdata-tools-/:S/_/./g}
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= https://github.com/hughsie/appdata-tools/archive/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/hughsie/appdata-tools/
COMMENT= Application data tools
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
WRKSRC= ${WRKDIR}/appdata-tools-${DISTNAME}
USE_TOOLS+= autoconf automake autoreconf gmake intltool intltoolize
USE_TOOLS+= pkg-config xgettext
GNU_CONFIGURE= yes
pre-configure:
cd ${WRKSRC} && autoreconf -fi && intltoolize --force
.include "../../lang/python/application.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../net/libsoup24/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"