aboutsummaryrefslogtreecommitdiffstats
path: root/www/netscape3/files/Makefile
blob: bb36c868c039d2fc16f41ae5211f4132bd4280c2 (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
# This directory is hard-coded into the netscape binary
LIBDIR=     /usr/local/lib/netscape

BINDIR=     ${PREFIX}/bin
NLSDIR=     ${X11BASE}/lib/X11/nls

FILES=          LICENSE README Netscape.ad java_301

all:
    @true

install:
    -test -d ${LIBDIR} || mkdir -p ${LIBDIR}
    -test -d ${NLSDIR} || mkdir -p ${NLSDIR}
    install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
        netscape ${BINDIR}
    install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
        movemail netscape.bin ${LIBDIR}
    install -c -m 644 -o ${BINOWN} -g ${BINGRP} \
        ${FILES} ${LIBDIR}
    if [ ! -f ${LIBDIR}/mailcap ] ; then \
        install -c -m 644 -o ${BINOWN} -g ${BINGRP} mailcap ${LIBDIR}; \
    fi
    if [ ! -f ${NLSDIR}/C ] ; then \
        install -c -m 644 -o ${BINOWN} -g ${BINGRP} nls/C ${NLSDIR}; \
    fi
    if [ ! -f ${NLSDIR}/nls.dir ] ; then \
        install -c -m 644 -o ${BINOWN} -g ${BINGRP} nls/nls.dir ${NLSDIR}; \
    fi