1998-10-20 04:39:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 1998/10/20 08:39:45 form Exp $
|
1998-05-07 05:20:16 -04:00
|
|
|
# NetBSD: Makefile,v 1.10 1998/04/24 09:07:55 agc Exp
|
|
|
|
# FreeBSD Id: Makefile,v 1.19 1997/12/04 17:34:28 asami Exp
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= linux_lib-2.4
|
|
|
|
CATEGORIES= emulators
|
1998-10-15 00:43:51 -04:00
|
|
|
|
1998-10-18 01:01:58 -04:00
|
|
|
#BROKEN= "newer version available"
|
1998-05-07 05:20:16 -04:00
|
|
|
ONLY_FOR_ARCHS= i386
|
1998-10-15 00:43:51 -04:00
|
|
|
NO_CDROM= "GPL: must distribute with source"
|
|
|
|
MIRROR_DISTFILE= no
|
1998-05-07 05:20:16 -04:00
|
|
|
|
|
|
|
|
1998-10-20 04:39:43 -04:00
|
|
|
MAINTAINER= form@OpenBSD.ORG
|
1998-05-07 05:20:16 -04:00
|
|
|
|
1998-10-15 00:43:51 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
1998-05-07 05:20:16 -04:00
|
|
|
|
1998-10-15 00:43:51 -04:00
|
|
|
PREFIX= /emul/linux
|
1998-05-07 05:20:16 -04:00
|
|
|
NO_MTREE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
EXTRACT_ONLY= # empty
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@[ -d ${PREFIX} ] || ${MKDIR} ${PREFIX}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@zcat ${DISTDIR}/${DISTNAME}.tar.gz |(cd ${PREFIX}; pax -r)
|
|
|
|
@mkdir -p ${PREFIX}/usr/local
|
|
|
|
@mkdir -p ${PREFIX}/usr/local/lib
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${RM} ${PREFIX}/lib/libc.so.5.4.23
|
|
|
|
${LN} -sf libc.so.5.3.12 ${PREFIX}/lib/libc.so.5
|
|
|
|
${LN} -sf ../../lib/libc.so.5.3.12 ${PREFIX}/usr/lib/libc.so
|
|
|
|
-${PREFIX}/sbin/ldconfig || /usr/bin/true
|
|
|
|
${MKDIR} ${PREFIX}/usr/lib/zoneinfo
|
|
|
|
${LN} -sf /etc/localtime ${PREFIX}/usr/lib/zoneinfo/localtime
|
|
|
|
${MKDIR} ${PREFIX}/dev
|
|
|
|
${LN} -sf /dev/sound ${PREFIX}/dev/dsp
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|