openbsd-ports/audio/aumix/Makefile

56 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.19 2006/09/18 11:40:06 espie Exp $
2001-10-11 14:16:30 -04:00
COMMENT= "full-screen ncurses or GTK-based audio mixer"
DISTNAME= aumix-2.8
PKGNAME= ${DISTNAME}p3
CATEGORIES= audio
HOMEPAGE= http://jpj.net/~trevor/aumix.html
2000-09-23 08:38:21 -04:00
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-11-21 12:51:44 -05:00
WANTLIB= c m ossaudio
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aumix/} \
http://jpj.net/~trevor/aumix/ \
http://jpj.net/~trevor/aumix/old/
EXTRACT_SUFX= .tar.bz2
2004-08-10 04:04:01 -04:00
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
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
2006-08-01 07:17:55 -04:00
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
2006-08-01 07:17:55 -04:00
WANTLIB+= X11 fontconfig freetype.>=13 \
glib-2.0 gmodule-2.0 gobject-2.0 atk-1.0 \
pango-1.0 pangocairo-1.0 pangoft2-1.0 cairo
.endif
2001-10-11 14:16:30 -04:00
.if ${FLAVOR:L:Mno_curses}
CONFIGURE_ARGS+= --without-ncurses
2004-11-21 12:51:44 -05:00
.else
WANTLIB+= ncurses
.endif
2001-10-11 14:16:30 -04:00
.if ${FLAVOR:L:Mdummy}
CONFIGURE_ARGS+= --enable-dummy-mixer
.endif
.include <bsd.port.mk>