openbsd-ports/x11/qvwm/Makefile

46 lines
906 B
Makefile
Raw Normal View History

2002-12-29 15:31:39 -05:00
# $OpenBSD: Makefile,v 1.8 2002/12/29 20:31:41 fgsch Exp $
COMMENT= "Windows 95/98/NT like window manager"
2000-09-23 16:03:20 -04:00
DISTNAME= qvwm-1.1.8
CATEGORIES= x11
MASTER_SITES= ftp://ftp.qvwm.org/pub/qvwm/
HOMEPAGE= http://www.qvwm.org/
MAINTAINER= Dan Harnett <danh@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-09-23 16:03:20 -04:00
FLAVORS= esound imlib
2000-07-02 19:44:17 -04:00
FLAVOR?=
2000-09-23 16:03:20 -04:00
USE_X11= Yes
SEPARATE_BUILD= flavored
CONFIGURE_STYLE= gnu
# the build-scheme will get confused otherwise
post-patch:
rm ${WRKDIST}/src/yaccsrc.{cc,h}
2000-07-02 19:44:17 -04:00
.if ${FLAVOR:L:Mesound}
2000-09-23 16:03:20 -04:00
LIB_DEPENDS+= esd.2.::audio/esound
CONFIGURE_ARGS+= --with-esd-prefix=${LOCALBASE}
2000-07-02 19:44:17 -04:00
.else
2000-09-23 16:03:20 -04:00
CONFIGURE_ARGS+= --without-esd
2000-07-02 19:44:17 -04:00
.endif
2000-09-23 16:03:20 -04:00
2000-07-02 19:44:17 -04:00
.if ${FLAVOR:L:Mimlib}
2001-10-24 08:48:53 -04:00
LIB_DEPENDS+= Imlib.19::graphics/imlib
2000-09-23 16:03:20 -04:00
CONFIGURE_ARGS+= --with-imlib-prefix=${LOCALBASE}
2000-07-02 19:44:17 -04:00
.else
2000-09-23 16:03:20 -04:00
CONFIGURE_ARGS+= --without-imlib
2000-07-02 19:44:17 -04:00
.endif
.include <bsd.port.mk>