# $OpenBSD: Makefile.inc,v 1.3 2011/07/19 17:28:48 jeremy Exp $ SHARED_ONLY ?= Yes DISTNAME ?= ruby-${VERSION}-p${PATCHLEVEL} CATEGORIES ?= lang HOMEPAGE ?= http://www.ruby-lang.org/ MAINTAINER ?= Jeremy Evans # GPL/Artistic/BSD/Public Domain/Beer-Ware PERMIT_PACKAGE_CDROM ?= Yes PERMIT_PACKAGE_FTP ?= Yes PERMIT_DISTFILES_CDROM ?= Yes PERMIT_DISTFILES_FTP ?= Yes MASTER_SITES ?= ftp://www.ruby-lang.org/pub/ruby/${VERSION:R}/ \ ftp://mirror.nucba.ac.jp/pub/ruby/${VERSION:R}/ \ ftp://ftp.kr.freebsd.org/pub/ruby/${VERSION:R}/ CONFIGURE_STYLE ?= gnu CONFIGURE_ARGS += ${CONFIGURE_SHARED} CONFIGURE_ENV += PREFIX="${PREFIX}" \ CPPFLAGS="-DOPENSSL_NO_STATIC_ENGINE -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" INSTALL_TARGET ?= install install-doc REV ?= ${VERSION:R} SUB ?= ${MACHINE_ARCH:S/amd64/x86_64/}-openbsd SUBST_VARS += SUB REV # Building the ruby documentation consumes lots of memory. VMEM_WARNING = Yes