summaryrefslogtreecommitdiff
path: root/www/firefox-gtk2-bin-acroread/Makefile
blob: 83e29777f687bb022684c636e59d7f345985f90c (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
# $NetBSD: Makefile,v 1.2 2004/12/21 03:05:19 xtraeme Exp $

DISTNAME=	firefox-gtk2-bin-acroread-1.0
CATEGORIES=	www print
MASTER_SITES=	# empty
DISTFILES=	# empty

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.adobe.com/products/acrobat/readermain.html
COMMENT=	Acrobat Reader 5 plugin for firefox-gtk2-bin

DEPENDS+=	acroread5>=5.10nb1:../../print/acroread5
DEPENDS+=	firefox-gtk2-bin>=0.10.1:../../www/firefox-gtk2-bin

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

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

ACROREAD=		Acrobat5

PLIST_SRC=		../../www/firefox-gtk2-bin-acroread/PLIST
PLIST_SUBST+=		ACROREAD=${ACROREAD}
PLIST_SUBST+=		PLATFORM=${PLATFORM}
NS_PLUGINS_DIR=		${PREFIX}/lib/firefox-gtk2-linux/plugins

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

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