blob: 5ab3f8a65873d29a4401726ec077db055e53cddb (
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
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.5 2016/08/03 10:23:17 adam Exp $
DISTNAME= sayaka-3.2.0
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=isaki68k/}
GITHUB_PROJECT= ${DISTNAME:S/-${PKGVERSION_NOREV}//}
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= tsutsui@NetBSD.org
HOMEPAGE= https://github.com/isaki68k/sayaka
COMMENT= Terminal specific Twitter client
LICENSE= modified-bsd
DEPENDS+= glib-networking-[0-9]*:../../net/glib-networking
USE_TOOLS+= pax pkg-config
INSTALLATION_DIRS+= bin share/sayaka
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Fixing ${PREFIX}
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= vala/sayaka.vala
SUBST_SED.prefix= -e 's,@PREFIX@,${PREFIX},g'
do-build:
cd ${WRKSRC}/vala && ${MAKE} vala-make2 && ${MAKE} sayaka
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vala/sayaka ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC} && pax -rwpp -s '/.*\.orig//' \
*.png ${DESTDIR}${PREFIX}/share/sayaka
BUILDLINK_DEPMETHOD.vala= build
BUILDLINK_API_DEPENDS.vala+= vala>=0.28.0
.include "../../lang/vala/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|