a0771359b0
when it becomes available. thanks to sthen@ for grepping the sources
84 lines
2.4 KiB
Makefile
84 lines
2.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.45 2011/09/19 13:48:15 jasper Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT-main= extended module player
|
|
COMMENT-audacious= extended module player plugin for Audacious
|
|
COMMENT-bmp= extended module player plugin for BMP
|
|
COMMENT-xmms= extended module player plugin for XMMS
|
|
|
|
DISTNAME= xmp-3.4.1
|
|
PKGNAME-main= ${DISTNAME}
|
|
PKGNAME-audacious= audacious-${DISTNAME}
|
|
PKGNAME-bmp= bmp-${DISTNAME}
|
|
PKGNAME-xmms= xmms-${DISTNAME}
|
|
CATEGORIES= audio
|
|
REVISION-audacious = 0
|
|
REVISION-bmp = 0
|
|
REVISION-xmms = 0
|
|
|
|
HOMEPAGE= http://xmp.sourceforge.net/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/}
|
|
|
|
MULTI_PACKAGES= -main -audacious -bmp -xmms
|
|
|
|
MODULES= devel/gettext
|
|
|
|
USE_GMAKE= Yes
|
|
USE_GROFF= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
LIB_DEPENDS-main= # empty
|
|
RUN_DEPENDS-main= # empty
|
|
WANTLIB-main= c m sndio
|
|
|
|
BUILD_DEPENDS += audio/audacious
|
|
RUN_DEPENDS-audacious= audio/audacious ${MODGETTEXT_RUN_DEPENDS}
|
|
LIB_DEPENDS-audacious= x11/gtk+2 devel/mcs x11/dbus-glib
|
|
WANTLIB-audacious= GL X11 Xcomposite Xcursor Xdamage Xext Xfixes \
|
|
Xi Xinerama Xrandr Xrender atk-1.0 audcore audgui cairo \
|
|
dbus-1 dbus-glib-1 expat fontconfig freetype gdk-x11-2.0 \
|
|
gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \
|
|
gthread-2.0 gtk-x11-2.0 m mcs mowgli pango-1.0 \
|
|
pangocairo-1.0 pangoft2-1.0 pixman-1 png pthread-stubs \
|
|
xcb xcb-render xcb-shm z ${MODGETTEXT_WANTLIB}
|
|
|
|
LIB_DEPENDS-bmp= audio/bmp
|
|
WANTLIB-bmp= GL X11 Xcomposite Xcursor Xdamage Xext Xfixes \
|
|
Xi Xinerama Xrandr Xrender atk-1.0 beep cairo \
|
|
expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
|
|
gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
|
pixman-1 png pthread-stubs xcb xcb-render xcb-shm z \
|
|
${MODGETTEXT_WANTLIB}
|
|
|
|
LIB_DEPENDS-xmms= audio/xmms
|
|
WANTLIB-xmms= X11 Xext Xi gdk glib gmodule gtk m xmms ${MODGETTEXT_WANTLIB}
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/scripts
|
|
CONFIGURE_ARGS+= --disable-oss \
|
|
--disable-alsa \
|
|
--disable-pulseaudio \
|
|
--enable-audacious-plugin \
|
|
--enable-bmp-plugin \
|
|
--enable-xmms-plugin
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
LIBS=-lsndio
|
|
|
|
MAKE_FLAGS+= V=1
|
|
|
|
FAKE_FLAGS= DESTDIR=${WRKINST} \
|
|
SYSCONFDIR=${PREFIX}/share/examples/xmp
|
|
|
|
.include <bsd.port.mk>
|