openbsd-ports/audio/xmp/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

80 lines
2.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.38 2010/11/15 00:22:49 espie Exp $
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.2.0
PKGNAME-main= ${DISTNAME}
PKGNAME-audacious= audacious-${DISTNAME}
PKGNAME-bmp= bmp-${DISTNAME}
PKGNAME-xmms= xmms-${DISTNAME}
CATEGORIES= audio
REVISION-bmp= 0
REVISION-audacious= 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/}
SHARED_ONLY= Yes
MULTI_PACKAGES= -main -audacious -bmp -xmms
USE_GMAKE= Yes
USE_GROFF = Yes
NO_REGRESS= Yes
WANTLIB-main= c m sndio
LIB_DEPENDS-audacious= audio/audacious \
devel/pango \
x11/gtk+2
WANTLIB-audacious= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 cairo dbus-1 dbus-glib-1 \
expat fontconfig freetype gio-2.0 glib-2.0 gmodule-2.0 \
gobject-2.0 gthread-2.0 iconv intl m mcs mowgli pixman-1 \
png pthread-stubs samplerate xcb xcb-render xcb-render-util \
z audclient>=1 pango-1.0 pangocairo-1.0 pangoft2-1.0 \
gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0
LIB_DEPENDS-bmp= audio/bmp \
devel/pango \
x11/gtk+2
WANTLIB-bmp= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \
gthread-2.0 iconv intl m pixman-1 png pthread-stubs \
xcb xcb-render xcb-render-util z beep>=2 pango-1.0 \
pangocairo-1.0 pangoft2-1.0 gdk-x11-2.0 gdk_pixbuf-2.0 \
gtk-x11-2.0
LIB_DEPENDS-xmms= audio/xmms
WANTLIB-xmms= X11 Xext Xi gdk glib gmodule gtk iconv intl m xmms
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/scripts
CONFIGURE_ARGS+= --disable-oss \
--disable-alsa \
--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>