75d0491050
PSUEDO_FLAVOR, since the ri docs are the only thing that takes a lot of memory. OK ajacoutot@
32 lines
853 B
Makefile
32 lines
853 B
Makefile
# $OpenBSD: Makefile.inc,v 1.5 2011/11/17 11:47:12 jeremy Exp $
|
|
|
|
SHARED_ONLY ?= Yes
|
|
|
|
DISTNAME ?= ruby-${VERSION}-p${PATCHLEVEL}
|
|
|
|
CATEGORIES ?= lang
|
|
|
|
HOMEPAGE ?= http://www.ruby-lang.org/
|
|
|
|
MAINTAINER ?= Jeremy Evans <jeremy@openbsd.org>
|
|
|
|
# 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"
|
|
|
|
REV ?= ${VERSION:R}
|
|
SUB ?= ${MACHINE_ARCH:S/amd64/x86_64/}-openbsd
|
|
SUBST_VARS += SUB REV
|