2005-04-11 18:17:34 +02:00
|
|
|
# $NetBSD: Makefile.Linux.i386,v 1.12 2005/04/11 16:17:34 jschauma Exp $
|
2002-09-20 00:33:48 +02:00
|
|
|
#
|
|
|
|
|
2005-04-11 18:17:34 +02:00
|
|
|
DIST_DIR_NAME= linux
|
2002-09-20 00:33:48 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
2004-06-26 12:42:42 +02:00
|
|
|
INST_ENV+= LD_LIBRARY_PATH="${X11BASE}/lib:${PREFIX}/lib:${LD_LIBRARY_PATH}"
|
|
|
|
|
2002-09-20 00:33:48 +02:00
|
|
|
post-extract:
|
2004-06-26 12:43:49 +02:00
|
|
|
@${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"
|
2004-06-26 12:43:49 +02:00
|
|
|
@${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
|