~cypheon/pkgsrc-wip

pkgsrc-wip/emovix/Makefile -rw-r--r-- 1.1 KiB
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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
# $NetBSD: Makefile,v 1.4 2013/01/10 15:11:34 othyro Exp $
#

DISTNAME=	emovix-0.9.0
PKGREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=movix/eMoviX/0.9/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://movix.sourceforge.net/
COMMENT=	Tiny GNU/Linux distribution that plays video files when booted
LICENSE=	gnu-gpl-v2

GNU_CONFIGURE=	yes
USE_LANGUAGES=	# none
USE_TOOLS+=	bash perl

REPLACE_BASH+=	mplayer-fonts/centralEU-cp1250/runme
REPLACE_BASH+=	mplayer-fonts/centralEU-iso-8859-2/runme
REPLACE_PERL+=	src/movix/mixer.pl src/movix/movix.pl src/movix/rc.lirc
REPLACE_PERL+=	src/movix/setHardware.pl scripts/mkmovixiso
REPLACE_PERL+=	scripts/movix-conf.in

SUBST_CLASSES+=		cp
SUBST_STAGE.cp=		pre-install
SUBST_FILES.cp=		Makefile
SUBST_SED.cp=		-e "s|cp -a {translations,mplayer-fonts,keyboard-i18n,backgrounds}|${CP} -RPp translations mplayer-fonts keyboard-i18n backgrounds|g"
SUBST_MESSAGE.cp=	Fixing hardcoded cp path

post-install:
	${CHMOD} -x ${DESTDIR}${PREFIX}/share/emovix/mplayer-fonts/turkish/*

.include "../../mk/bsd.pkg.mk"