[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / frameworks

File: [cvs.NetBSD.org] / pkgsrc / graphics / frameworks / Makefile (download)

Revision 1.15, Thu Jun 14 07:45:42 2012 UTC (10 years, 7 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.14: +2 -2 lines

Recursive PKGREVISION bump for libxml2 buildlink addition.

# $NetBSD: Makefile,v 1.15 2012/06/14 07:45:42 sbd Exp $
#

DISTNAME=	frameworks-0.3.7
PKGREVISION=	10
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

PKG_DESTDIR_SUPPORT=	user-destdir

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 "../../mk/bsd.pkg.mk"