mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
30 lines
870 B
Makefile
30 lines
870 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_30 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
|