36 lines
814 B
Makefile
36 lines
814 B
Makefile
# $OpenBSD: Makefile,v 1.15 2000/10/01 03:41:14 brad Exp $
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
DISTNAME= freebsd_lib-2.2.8
|
|
CATEGORIES= emulators
|
|
NEED_VERSION= 1.330
|
|
MASTER_SITES= ftp://ftp.dqc.org/pub/brad/source/
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= Brad Smith <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:
|
|
${INSTALL_DATA_DIR} ${PREFIX}
|
|
${INSTALL_DATA_DIR} ${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>
|