openbsd-ports/x11/kde/bindings3/Makefile
jeremy a8bf115817 REVISION bump all ruby ports due to a change in the pkgspec.
Previously, we were using ruby->=1.8,<=1.9, instead of
ruby->=1.8,<1.9.  While this wouldn't cause an issue, since
our ruby-1.9.2 package isn't included in ruby->=1.8,<=1.9,
it's still wrong and should be fixed.  This also fixes the
following minor issues:

Switch from using FLAVOR to MODRUBY_FLAVOR for *_DEPENDS.
Currently we don't have a ruby port that uses FLAVORs that
would differ from MODRUBY_FLAVOR, but it's possible we will
in the future.

Switch from BASE_PKGPATH to BUILD_PKGPATH in a few cases in
REGRESS_DEPENDS.  This probably is not strictly necessary, but
BUILD_PKGPATH is used in more cases, so it is good for
consistency.

Switch to new style *_DEPENDS, with the version specification
at the end.  The remaining cases where this is not done is
because a specific version is used.

Some FULLPKGNAME added to REGRESS_DEPENDS, to make sure that if
the old version is installed when you run a regress test, it
will install the new version first.

Some conversion of spaces to tabs for consistency.

OK landry@
2010-11-24 21:35:13 +00:00

45 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.72 2010/11/24 21:35:16 jeremy Exp $
COMMENT = K Desktop Environment, extra language support
CATEGORIES = x11 x11/kde devel
VERSION = 3.5.10
DISTNAME = kdebindings-${VERSION}
MODKDE_VERSION = 3.5.8
SHARED_LIBS += kjsembed 2.0 # .1.0
SHARED_LIBS += smokeqt 4.0 # .3.2
SHARED_LIBS += smokekde 4.0 # .3.2
MODULES = x11/kde devel/gettext lang/ruby
RUN_DEPENDS += devel/desktop-file-utils
LIB_DEPENDS = x11/kde/libs3 \
x11/qt3 \
${MODRUBY_LIB_DEPENDS}
REVISION = 12
#XXX missing -rpath to /usr/local ?
USE_LIBTOOL = gnu
USE_GROFF = Yes
WANTLIB = GL GLU ICE SM X11 Xau Xdmcp Xext Xrender art_lgpl_2 c expat fam \
fontconfig freetype idn jpeg lib/kde3/DCOP lib/kde3/kdecore>=6 \
lib/kde3/kdefx lib/kde3/kdeprint lib/kde3/kdesu lib/kde3/kdeui \
lib/kde3/khtml lib/kde3/kio lib/kde3/kjs lib/kde3/kmdi \
lib/kde3/knewstuff lib/kde3/kparts lib/kde3/kscript lib/kde3/kspell \
lib/kde3/kutils lib/kde3/kwalletclient m pcre pcreposix png pthread \
pthread-stubs qui-mt stdc++ util xcb z ${MODRUBY_WANTLIB}
PYTHON_VER = 2.5
BUILD_DEPENDS = python->=${PYTHON_VER},<2.6:lang/python/${PYTHON_VER}
# devel/tmake
MAKE_FLAGS += TMAKEPATH=${LOCALBASE}/share/tmake/openbsd-g++/ \
PYTHON=${LOCALBASE}/bin/python${PYTHON_VER}
SEPARATE_BUILD = flavored
CONFIGURE_ENV += DO_NOT_COMPILE=python
GNU_ARCH = ${MACHINE_ARCH:S/amd64/x86_64/}
SUBST_VARS = GNU_ARCH OSREV
.include <bsd.port.mk>