2003-07-01 18:19:13 +02:00
|
|
|
# $NetBSD: Makefile.Linux.i386,v 1.9 2003/07/01 16:19:13 jschauma Exp $
|
2002-09-20 00:33:48 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DIST_DIR_NAME= linux22
|
|
|
|
|
|
|
|
DEPENDS+= gtk+>=1.2.10:../../x11/gtk
|
2002-10-11 22:50:42 +02:00
|
|
|
INSTDIR= ${WRKSRC}/dest
|
2002-10-14 16:22:50 +02:00
|
|
|
FIND_ARG= . -depth
|
2002-09-20 00:33:48 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${MKDIR} ${WRKSRC}/dest
|
|
|
|
${SED} -e "s|@PREFIX@|${PREFIX}|g" -e "s|@X11BASE@|${X11BASE}|g" \
|
2003-07-01 18:19:13 +02:00
|
|
|
-e "s|@WRKSRC@|${WRKSRC}|g" -e "s|@X11PREFIX@|${X11PREFIX}|g" \
|
|
|
|
${FILESDIR}/linux_notes
|
2002-09-20 00:33:48 +02:00
|
|
|
@${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
|