openbsd-ports/x11/qvwm/Makefile

49 lines
1000 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2008/07/01 16:41:19 ajacoutot Exp $
COMMENT= Windows 95/98/NT like window manager
2000-09-23 16:03:20 -04:00
DISTNAME= qvwm-1.1.8
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/
# 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-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}
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
.include <bsd.port.mk>