2004-12-19 15:18:55 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2004/12/19 20:18:55 alek Exp $
|
2001-03-28 14:35:25 -05:00
|
|
|
|
|
|
|
COMMENT= "Windows 95/98/NT like window manager"
|
2000-07-02 19:25:18 -04:00
|
|
|
|
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>
|
2000-07-02 19:25:18 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-19 15:18:55 -05:00
|
|
|
WANTLIB= ICE SM X11 Xext Xss c m stdc++
|
2000-07-02 19:25:18 -04:00
|
|
|
|
2000-09-23 16:03:20 -04:00
|
|
|
FLAVORS= esound imlib
|
2000-07-02 19:44:17 -04:00
|
|
|
FLAVOR?=
|
2000-07-02 19:25:18 -04:00
|
|
|
|
2000-09-23 16:03:20 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
|
|
|
|
SEPARATE_BUILD= flavored
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
2000-07-02 20:39:08 -04:00
|
|
|
# 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}
|
2004-12-19 15:18:55 -05:00
|
|
|
WANTLIB+= audiofile
|
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}
|
2004-12-19 15:18:55 -05:00
|
|
|
WANTLIB+= tiff ungif z jpeg m png
|
2000-07-02 19:44:17 -04:00
|
|
|
.else
|
2000-09-23 16:03:20 -04:00
|
|
|
CONFIGURE_ARGS+= --without-imlib
|
2004-12-19 15:18:55 -05:00
|
|
|
WANTLIB+= Xpm
|
2000-07-02 19:44:17 -04:00
|
|
|
.endif
|
2000-07-02 19:25:18 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|