openbsd-ports/audio/aumix/Makefile
simon 4dab3b36f2 fix and sort WANTLIB after gtk+2 update
ok naddy@ (maintainer)
2007-11-05 21:44:57 +00:00

56 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.24 2007/11/05 21:44:57 simon Exp $
COMMENT= full-screen ncurses or GTK-based audio mixer
DISTNAME= aumix-2.8
PKGNAME= ${DISTNAME}p6
CATEGORIES= audio
HOMEPAGE= http://jpj.net/~trevor/aumix.html
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ossaudio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aumix/} \
http://jpj.net/~trevor/aumix/ \
http://jpj.net/~trevor/aumix/old/
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
FLAVORS= no_x11 no_curses dummy
FLAVOR?=
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-own-labels --without-gtk1
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib'
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-gtk
.else
LIB_DEPENDS+= gdk-x11-2.0.>=0.14,gdk_pixbuf-2.0.>=0.14,gtk-x11-2.0.>=0.14::x11/gtk+2
USE_X11= Yes
WANTLIB+= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi \
Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
freetype.>=13 glib-2.0 glitz gmodule-2.0 gobject-2.0 pango-1.0 \
pangocairo-1.0 pangoft2-1.0 png z
.endif
.if ${FLAVOR:L:Mno_curses}
CONFIGURE_ARGS+= --without-ncurses
.else
WANTLIB+= ncurses
.endif
.if ${FLAVOR:L:Mdummy}
CONFIGURE_ARGS+= --enable-dummy-mixer
.endif
.include <bsd.port.mk>