summaryrefslogtreecommitdiffstats
path: root/www/netscape3/files/Makefile
blob: 8b2d8e91a1d6f7433bebed717081827fd5e9edbf (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
# 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 moz3_0.zip movemail

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} \
		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
OpenPOWER on IntegriCloud