2000-09-23 16:03:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2000/09/23 20:03:20 danh Exp $
|
2000-07-02 19:25:18 -04:00
|
|
|
|
2000-09-23 16:03:20 -04:00
|
|
|
DISTNAME= qvwm-1.1.8
|
|
|
|
CATEGORIES= x11
|
|
|
|
NEED_VERSION= 1.334
|
|
|
|
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
|
|
|
|
|
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}
|
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}
|
2000-09-23 16:03:20 -04:00
|
|
|
LIB_DEPENDS+= Imlib.19.::graphics/imlib
|
|
|
|
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
|
2000-07-02 19:25:18 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|