openbsd-ports/emulators/freebsd_lib/Makefile
brad 68ba89daa5 Install under /usr/local, use Fake.
Link /usr/local/emul/freebsd -> /emul/freebsd
2000-06-20 18:14:12 +00:00

36 lines
771 B
Makefile

# $OpenBSD: Makefile,v 1.12 2000/06/20 18:14:12 brad Exp $
DISTNAME= freebsd_lib-2.2.8
CATEGORIES= emulators
NEED_VERSION= 1.301
MASTER_SITES= ftp://ftp.dqc.org/pub/brad/
EXTRACT_ONLY=
ONLY_FOR_ARCHS= i386
MAINTAINER= brad@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_BUILD= Yes
PREFIX= /usr/local/emul/freebsd
pre-install:
@mkdir -p ${PREFIX}
@mkdir ${WRKINST}/emul
@ln -sf ${TRUEPREFIX} ${WRKINST}/emul/freebsd
do-install:
@zcat ${DISTDIR}/${DISTNAME}.tar.gz | (cd ${PREFIX}; pax -r)
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/var/run
-chroot ${WRKINST} ${TRUEPREFIX}/sbin/ldconfig \
-f ${TRUEPREFIX}/var/run/ld.so.hints /usr/lib/compat /usr/X11R6/lib
.include <bsd.port.mk>