summaryrefslogtreecommitdiff
path: root/www/opera-acroread/Makefile.common
blob: e9667e35aa4b268a7bbeda6272ff6d77a55e57f8 (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
# $NetBSD: Makefile.common,v 1.6 2006/06/30 13:57:16 salo Exp $

PKGNAME=		${DISTNAME:C|MozillaFirebird|firefox|}
CATEGORIES=		www print
MASTER_SITES=		# empty
DISTFILES=		# empty

DEPENDS+=		opera>=7.0:../../www/opera
DEPENDS+=		suse_openmotif>=7.3:../../emulators/${SUSE_DIR_PREFIX}_openmotif

ONLY_FOR_PLATFORM=	Linux-*-i386 NetBSD-*-i386
PLATFORM=		intellinux

WRKSRC=			${WRKDIR}
NO_CHECKSUM=		YES
NO_CONFIGURE=		YES
NO_BUILD=		YES

PLIST_SRC=		../../www/opera-acroread/PLIST
PLIST_SUBST+=		ACROREAD=${ACROREAD:Q}
PLIST_SUBST+=		ACRO_SUBDIR=${ACRO_SUBDIR:Q}
PLIST_SUBST+=		PLATFORM=${PLATFORM:Q}
NS_PLUGINS_DIR=		${PREFIX}/emul/linux/usr/lib/opera/plugins

do-install:
	${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
	${LN} -s ${PREFIX}/${ACROREAD}/${ACRO_SUBDIR}/${PLATFORM}/nppdf.so \
		${NS_PLUGINS_DIR}/nppdf.so

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