blob: d9748f8fce630d05cdce889c9c70c6e706719242 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.10 2016/04/11 19:01:46 ryoon Exp $
DISTNAME= appdata_tools-0.1.7
PKGREVISION= 5
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=hughsie/}
GITHUB_PROJECT= appdata-tools
# -0.1.7 into _0_1_7
GITHUB_TAG= ${DISTNAME:S/./_/g:S/-/_/g}
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-${GITHUB_TAG}
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/libsoup/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|