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 16:35:13 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.46 2010/11/24 21:35:13 jeremy Exp $
|
2005-04-15 02:42:39 -04:00
|
|
|
|
2008-08-26 13:24:38 -04:00
|
|
|
CATEGORIES = audio x11 x11/kde
|
|
|
|
COMMENT = music player for KDE
|
2005-04-15 02:42:39 -04:00
|
|
|
|
2008-08-26 13:24:38 -04:00
|
|
|
HOMEPAGE = http://amarok.kde.org/
|
|
|
|
V = 1.4.10
|
|
|
|
MASTER_SITES = ${MASTER_SITE_KDE:=stable/amarok/$V/src/}
|
|
|
|
DISTNAME = amarok-$V
|
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 16:35:13 -05:00
|
|
|
REVISION = 11
|
2008-08-26 13:24:38 -04:00
|
|
|
EXTRACT_SUFX = .tar.bz2
|
2005-04-15 02:42:39 -04:00
|
|
|
|
2008-05-27 10:39:00 -04:00
|
|
|
# GPLv2/LGPLv2/GFDL
|
2008-08-26 13:24:38 -04:00
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2008-05-27 10:39:00 -04:00
|
|
|
|
2008-08-26 13:24:38 -04:00
|
|
|
FLAVORS = debug
|
2006-06-11 07:33:52 -04:00
|
|
|
|
2009-04-03 20:24:02 -04:00
|
|
|
WANTLIB += ICE SM X11 Xau Xdmcp Xext Xrender art_lgpl_2 c expat
|
2010-09-05 06:25:16 -04:00
|
|
|
WANTLIB += fontconfig freetype gdk_pixbuf-2.0 gio-2.0 glib-2.0
|
2010-11-18 07:03:28 -05:00
|
|
|
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 idn jpeg m pcre
|
2010-09-05 06:25:16 -04:00
|
|
|
WANTLIB += pcreposix png pthread stdc++ usb util xml2 z
|
2010-11-14 19:22:45 -05:00
|
|
|
WANTLIB += pthread-stubs xcb lib/qt3/qt-mt>=3.33 konqsidebarplugin
|
|
|
|
WANTLIB += kdecore>=6 DCOP khtml kwalletclient kdefx kdeprint
|
|
|
|
WANTLIB += kutils kdeui kparts kio kdesu kjs knewstuff kdnssd tag>=5.0
|
2010-10-26 17:42:13 -04:00
|
|
|
WANTLIB += xine sqlite3 gpod njb mtp ${MODRUBY_WANTLIB}
|
2010-09-05 06:25:16 -04:00
|
|
|
|
2010-11-15 07:44:20 -05:00
|
|
|
RUN_DEPENDS = devel/desktop-file-utils
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS += x11/kde/libs3 \
|
|
|
|
x11/kde/base3 \
|
|
|
|
x11/gtk+2 \
|
|
|
|
taglib->=1.4:audio/taglib \
|
|
|
|
multimedia/xine-lib \
|
|
|
|
databases/sqlite3 \
|
|
|
|
audio/libgpod \
|
|
|
|
audio/libnjb \
|
|
|
|
devel/libmtp \
|
2010-10-26 17:42:13 -04:00
|
|
|
${MODRUBY_LIB_DEPENDS}
|
2005-04-15 02:42:39 -04:00
|
|
|
|
2006-10-28 06:30:41 -04:00
|
|
|
SHARED_LIBS += amarok 0.0 # .0.0
|
|
|
|
SHARED_LIBS += http11 0.0 # .0.0
|
|
|
|
|
2010-11-18 07:03:28 -05:00
|
|
|
MODULES = x11/kde lang/ruby devel/gettext
|
2008-08-26 13:24:38 -04:00
|
|
|
MODKDE_VERSION = 3.5.7
|
2010-10-26 17:42:13 -04:00
|
|
|
MODRUBY_BUILDDEP= No
|
2008-08-26 13:24:38 -04:00
|
|
|
CONFIGURE_STYLE = autoconf
|
|
|
|
AUTOCONF_VERSION = 2.61
|
|
|
|
CONFIGURE_ARGS += ${MODKDE_CONFIGURE_ARGS}
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
CONFIGURE_ENV += ${MODKDE_CONFIGURE_ENV}
|
|
|
|
MAKE_ENV = ${CONFIGURE_ENV}
|
|
|
|
MAKE_FLAGS += ${MODKDE_MAKE_FLAGS}
|
|
|
|
PORTHOME = ${WRKDIR}
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += --with-xine \
|
2008-05-27 10:39:00 -04:00
|
|
|
--without-arts \
|
|
|
|
--without-gstreamer \
|
|
|
|
--without-included-sqlite \
|
|
|
|
--without-musicbrainz \
|
|
|
|
--without-opengl \
|
|
|
|
--without-xmms
|
2005-04-15 02:42:39 -04:00
|
|
|
|
2010-09-26 04:06:16 -04:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && find . -name '*.rb' -exec \
|
|
|
|
perl -pi -e 's,#!/usr/bin/env ruby,#!${RUBY},' {} \;
|
|
|
|
|
2005-04-15 02:42:39 -04:00
|
|
|
.include <bsd.port.mk>
|