openbsd-ports/lang/squeak/vm/Makefile
espie 3bac55297a update to 3.7.7... still no 64 bits support.
clean-up a few minor details.
2005-10-02 13:16:23 +00:00

40 lines
879 B
Makefile

# $OpenBSD: Makefile,v 1.5 2005/10/02 13:16:23 espie Exp $
COMMENT= "smalltalk system, vm"
DISTFILES=Squeak-$V-${SRC_V}.src.tar.gz
PKGNAME=squeak-vm-$V.${SRC_V}
WRKDIST=${WRKDIR}/Squeak-$V-${SRC_V}
WRKSRC=${WRKDIST}/platforms/unix/config
SEPARATE_BUILD=simple
CONFIGURE_STYLE=gnu
AUTOCONF_VERSION=2.57
DESTDIRNAME=ROOT
CONFIGURE_ENV=RANLIB=ranlib
USE_GMAKE=yes
USE_X11=yes
WANTLIB=GL X11 m c SM util Xext ICE
.if ${MACHINE_ARCH} != "powerpc"
MAKE_FLAGS+=INTERP=gnu-interp
.endif
MAKE_FLAGS+=docdir=${PREFIX}/share/doc/squeak
FAKE_FLAGS=${MAKE_FLAGS} ROOT=${WRKINST}
post-extract:
mkdir ${WRKDIST}/platforms/unix/vm-sound-OpenBSD
cp ${FILESDIR}/vm-sound-OpenBSD/{acinclude.m4,sqUnixSoundOpenBSD.c} ${WRKDIST}/platforms/unix/vm-sound-OpenBSD
RUN_DEPENDS= :squeak-image-$V.*:lang/squeak/image \
:squeak-sources-${MAJOR}:lang/squeak/sources
.include <bsd.port.mk>