pkgsrc/www/netscape7/Makefile.Linux.i386

23 lines
892 B
Makefile
Raw Normal View History

# $NetBSD: Makefile.Linux.i386,v 1.9 2003/07/01 16:19:13 jschauma Exp $
#
DIST_DIR_NAME= linux22
DEPENDS+= gtk+>=1.2.10:../../x11/gtk
INSTDIR= ${WRKSRC}/dest
FIND_ARG= . -depth
post-extract:
${MKDIR} ${WRKSRC}/dest
${SED} -e "s|@PREFIX@|${PREFIX}|g" -e "s|@X11BASE@|${X11BASE}|g" \
-e "s|@WRKSRC@|${WRKSRC}|g" -e "s|@X11PREFIX@|${X11PREFIX}|g" \
${FILESDIR}/linux_notes
@${SH} -c "read"
${LN} -s ${PREFIX}/lib/libglib.so ${WRKSRC}/libglib-1.2.so.0
${LN} -s ${PREFIX}/lib/libgmodule.so ${WRKSRC}/libgmodule-1.2.so.0
${SED} -e 's|LD_LIBRARY_PATH=.:|LD_LIBRARY_PATH=.:${X11BASE}/lib:${PREFIX}/lib:|' \
${WRKSRC}/netscape-installer > ${WRKSRC}/netscape-installer.tmp
${MV} ${WRKSRC}/netscape-installer.tmp ${WRKSRC}/netscape-installer
${LN} -s ${PREFIX}/lib/libglib.so ${WRKSRC}/dest/libglib-1.2.so.0
${LN} -s ${PREFIX}/lib/libgmodule.so ${WRKSRC}/dest/libgmodule-1.2.so.0