openbsd-ports/emulators/linux_lib/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.26 2001/02/08 15:32:33 brad Exp $
1999-03-06 23:41:00 -05: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 $
1998-05-07 05:20:16 -04:00
2000-09-24 03:03:59 -04:00
ONLY_FOR_ARCHS= i386
1999-03-28 18:11:53 -05:00
DISTNAME= linux_lib-2.6.1
CATEGORIES= emulators
2000-09-24 03:03:59 -04:00
NEED_VERSION= 1.330
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_ONLY=
MAINTAINER= ports@openbsd.org
1998-05-07 05:20:16 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_BUILD= Yes
PREFIX?= ${LOCALBASE}/emul/linux
1998-05-07 05:20:16 -04:00
pre-install:
2000-10-01 00:31:57 -04:00
${INSTALL_DATA_DIR} ${PREFIX}
${INSTALL_DATA_DIR} ${WRKINST}/emul
@ln -sf ${TRUEPREFIX} ${WRKINST}/emul/linux
1998-05-07 05:20:16 -04:00
do-install:
1999-05-03 00:49:42 -04:00
@zcat ${DISTDIR}/${DISTNAME}.tar.gz | (cd ${PREFIX}; pax -r)
1998-05-07 05:20:16 -04:00
post-install:
1998-11-11 03:01:11 -05:00
# Creating usr/local/lib to prevent linux ldconfig from scanning OpenBSD
# local libraries...
2000-10-01 00:31:57 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/usr/local/lib
-chroot ${WRKINST} ${TRUEPREFIX}/sbin/ldconfig
-@rmdir ${PREFIX}/usr/local/lib ${PREFIX}/usr/local
2000-10-01 00:31:57 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/usr/lib/zoneinfo
2000-09-30 23:18:00 -04:00
@ln -sf /etc/localtime ${PREFIX}/usr/lib/zoneinfo/localtime
1998-05-07 05:20:16 -04:00
.include <bsd.port.mk>