openbsd-ports/audio/aumix/Makefile
2001-01-18 00:36:31 +00:00

45 lines
956 B
Makefile

# $OpenBSD: Makefile,v 1.4 2001/01/18 00:36:31 naddy Exp $
DISTNAME= aumix-2.7
CATEGORIES= audio
NEED_VERSION= 1.312
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
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://jpj.net/~trevor/aumix/ \
http://jpj.net/~trevor/aumix/old/
MASTER_SITE_SUBDIR= aumix
LIB_DEPENDS= intl.1::devel/gettext
FLAVORS= no_x11 no_curses dummy
FLAVOR?=
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-own-labels
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib'
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-gtk
.else
LIB_DEPENDS+= gtk.1.2::x11/gtk+
USE_X11= Yes
.endif
.if ${FLAVOR:L:Mno_curses}
CONFIGURE_ARGS+= --without-ncurses
.endif
.if ${FLAVOR:L:Mdummy}
CONFIGURE_ARGS+= --enable-dummy-mixer
.endif
.include <bsd.port.mk>