2008-07-01 12:41:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2008/07/01 16:41:19 ajacoutot Exp $
|
2001-03-28 14:35:25 -05:00
|
|
|
|
2007-09-15 16:04:18 -04: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
|
2008-07-01 12:41:19 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2000-09-23 16:03:20 -04:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ftp://ftp.qvwm.org/pub/qvwm/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.qvwm.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}
|
2006-09-18 06:21:48 -04:00
|
|
|
LIB_DEPENDS+= esd.>=2::audio/esound
|
2000-09-23 16:03:20 -04:00
|
|
|
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}
|
2006-09-18 06:21:48 -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>
|