1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/www/netscape3/files/Makefile
1996-11-07 00:03:32 +00:00

30 lines
871 B
Makefile

# 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 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