summaryrefslogtreecommitdiff
path: root/multimedia/goggles/Makefile
blob: 4e056e1428a04937d65144084865e0fc8a3c8a5d (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
# $NetBSD: Makefile,v 1.12 2012/06/14 07:45:42 sbd Exp $
#

DISTNAME=		goggles-0.9.1
PKGREVISION=		8
CATEGORIES=		multimedia
MASTER_SITES=		http://www.fifthplanet.net/files/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.fifthplanet.net/goggles.html
COMMENT=		Easy to use frontend for Ogle DVD Player

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES+=		c c++ # c for configure script
USE_TOOLS+=		gmake bash:run

REPLACE_BASH=		gb

do-build:
	cd ${WRKSRC} && ${MAKE_ENV} ./gb --prefix=${PREFIX} \
		--fox-prefix=${BUILDLINK_PREFIX.fox} \
		--ogle-prefix=${BUILDLINK_PREFIX.ogle} \
		--use-config=build/config.generic

do-install:
	cd ${WRKSRC} && ${MAKE_ENV} ./gb --package-root=${DESTDIR}${PREFIX} --prefix=${PREFIX} install
	sed "s|@location@|${PREFIX}/bin|" ${WRKSRC}/scripts/goggles.in > ${DESTDIR}${PREFIX}/bin/goggles


.include "../../x11/fox/buildlink3.mk"
.include "../../multimedia/ogle/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"