aboutsummaryrefslogtreecommitdiffstats
path: root/print/acroreadwrapper/Makefile
blob: 694e89fa2802188afe090bab18b1d71e068c3fda (plain) (blame)
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
36
37
38
39
40
41
42
# New ports collection makefile for:    acroreadwrapper
# Date created:     20 February 2006
# Whom:         hrs
#
# $FreeBSD$
#

PORTNAME=   acroreadwrapper
PORTVERSION=    0.0.20090328
CATEGORIES= print
MASTER_SITES=   # empty
DISTFILES=  # empty

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Wrapper script for Adobe Reader

ONLY_FOR_ARCHS= amd64 i386
NO_BUILD=   yes
PLIST_FILES=    bin/acroread8 bin/acroread9 bin/acroread
SUB_FILES=  acroread
SUB_LIST=   ACROBASE8=${ACROBASE8} \
        ACROBASE9=${ACROBASE9} \
        ADOBE_LANG=${ADOBE_LANG:U} \
        INSTALLDIR=${INSTALLDIR} \
        LINUXBASE=${LINUXBASE} \
        LINUXSH=${LINUXBASE}/bin/sh \
        PLUGINDIR=${PLUGINDIR} \

ADOBEBASE=  Adobe
ACROBASE8=  ${ADOBEBASE}/Reader8
ACROBASE9=  ${ADOBEBASE}/Reader9
PLUGINDIR=  lib/npapi/linux-acroread

do-fetch:
    @${DO_NADA}

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/acroread ${PREFIX}/bin/acroread
    cd ${PREFIX}/bin && ${LN} -s -f acroread acroread8
    cd ${PREFIX}/bin && ${LN} -s -f acroread acroread9

.include <bsd.port.mk>