summaryrefslogtreecommitdiff
path: root/graphics/frameworks/Makefile
blob: 442eff7573baf936a6717400c97f9da8a729c139 (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
43
44
# $NetBSD: Makefile,v 1.25 2013/06/06 12:54:29 wiz Exp $
#

DISTNAME=	frameworks-0.3.7
PKGREVISION=	19
CATEGORIES=	graphics
MASTER_SITES=	http://frameworks.polycrystal.org/release/
SITES.frameworks.png=	http://frameworks.polycrystal.org/images/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} frameworks.png

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://frameworks.polycrystal.org/release/
COMMENT=	Stop-motion animation frame capture software

GNU_CONFIGURE=	yes
USE_TOOLS+=	pkg-config gmake autoconf
LDFLAGS+=	-lm    # Explicit for binutils 2.22 linker

SUBST_CLASSES=		xdg
SUBST_STAGE.xdg=	pre-configure
SUBST_MESSAGE.xdg=	Fixing paths in xdg menu entries.
SUBST_FILES.xdg=	frameworks.desktop
SUBST_SED.xdg=		-e 's,@PREFIX@,${PREFIX},g'

INSTALLATION_DIRS=	share/applications share/icons/hicolor/48x48/apps

post-extract:
	cp ${FILESDIR}/frameworks.desktop.in ${WRKSRC}/frameworks.desktop

pre-configure:
	cd ${WRKSRC} && autoconf

post-install:
	${INSTALL_DATA} ${DISTDIR}/frameworks.png \
	    ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/frameworks.png
	${INSTALL_DATA} ${WRKSRC}/frameworks.desktop \
	    ${DESTDIR}${PREFIX}/share/applications/frameworks.desktop

.include "../../devel/libglade/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/libv4l/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"