b6c2dc28e5
-- Pointed out by: wilfried@
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.26 2001/02/08 15:32:33 brad Exp $
|
|
# $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 $
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
DISTNAME= linux_lib-2.6.1
|
|
CATEGORIES= emulators
|
|
NEED_VERSION= 1.330
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
NO_BUILD= Yes
|
|
|
|
PREFIX?= ${LOCALBASE}/emul/linux
|
|
|
|
pre-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}
|
|
${INSTALL_DATA_DIR} ${WRKINST}/emul
|
|
@ln -sf ${TRUEPREFIX} ${WRKINST}/emul/linux
|
|
|
|
do-install:
|
|
@zcat ${DISTDIR}/${DISTNAME}.tar.gz | (cd ${PREFIX}; pax -r)
|
|
|
|
post-install:
|
|
# Creating usr/local/lib to prevent linux ldconfig from scanning OpenBSD
|
|
# local libraries...
|
|
${INSTALL_DATA_DIR} ${PREFIX}/usr/local/lib
|
|
-chroot ${WRKINST} ${TRUEPREFIX}/sbin/ldconfig
|
|
-@rmdir ${PREFIX}/usr/local/lib ${PREFIX}/usr/local
|
|
${INSTALL_DATA_DIR} ${PREFIX}/usr/lib/zoneinfo
|
|
@ln -sf /etc/localtime ${PREFIX}/usr/lib/zoneinfo/localtime
|
|
|
|
.include <bsd.port.mk>
|