summaryrefslogtreecommitdiff
path: root/www/netscape7/Makefile.Linux.i386
blob: 2acdf7319e1ea79cbf07d5a2e1ee553e09495859 (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
# $NetBSD: Makefile.Linux.i386,v 1.12 2005/04/11 16:17:34 jschauma Exp $
#

DIST_DIR_NAME=		linux

DEPENDS+=		gtk+>=1.2.10:../../x11/gtk
INSTDIR=		${WRKSRC}/dest
FIND_ARG=		. -depth

INST_ENV+=		LD_LIBRARY_PATH="${X11BASE}/lib:${PREFIX}/lib:${LD_LIBRARY_PATH}"

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/libgdk.so ${WRKSRC}/libgdk-1.2.so.0
	@${LN} -s ${PREFIX}/lib/libglib.so ${WRKSRC}/libglib-1.2.so.0
	@${LN} -s ${PREFIX}/lib/libgmodule.so ${WRKSRC}/libgmodule-1.2.so.0
	@${LN} -s ${PREFIX}/lib/libgtk.so ${WRKSRC}/libgtk-1.2.so.0
	@${LN} -s ${PREFIX}/lib/libgdk.so ${WRKSRC}/dest/libgdk-1.2.so.0
	@${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
	@${LN} -s ${PREFIX}/lib/libgtk.so ${WRKSRC}/dest/libgtk-1.2.so.0