diff options
Diffstat (limited to 'wm/vtwm/Makefile')
-rw-r--r-- | wm/vtwm/Makefile | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/wm/vtwm/Makefile b/wm/vtwm/Makefile index b21fda9e898..6831b56b53b 100644 --- a/wm/vtwm/Makefile +++ b/wm/vtwm/Makefile @@ -1,23 +1,43 @@ -# $NetBSD: Makefile,v 1.12 2012/10/23 10:24:15 wiz Exp $ -# +# $NetBSD: Makefile,v 1.13 2020/02/26 17:23:42 nia Exp $ -DISTNAME= vtwm-5.4.7 -PKGREVISION= 3 -CATEGORIES= x11 wm -MASTER_SITES= http://www.vtwm.org/downloads/ +DISTNAME= vtwm-5.5.0 +CATEGORIES= wm x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vtwm/} MAINTAINER= mehul.sanghvi@gmail.com -HOMEPAGE= http://www.vtwm.org/downloads/ +HOMEPAGE= http://www.vtwm.org/ COMMENT= TWM with virtual desktop, m4, sound and 3-D buttons +LICENSE= x11 -MAKE_JOBS_SAFE= no +GNU_CONFIGURE= yes -USE_IMAKE= YES -USE_TOOLS+= flex yacc +USE_TOOLS+= pkg-config flex bison m4 -.include "../../audio/rplay/buildlink3.mk" +CONFIGURE_ARGS+= --disable-esd-sound +CONFIGURE_ARGS+= --disable-rplay-sound + +.include "../../mk/oss.buildlink3.mk" + +.if ${OSS_TYPE} != "none" +SUBST_CLASSES+= oss +SUBST_STAGE.oss= pre-configure +SUBST_MESSAGE.oss= Fixing default OSS device references. +SUBST_FILES.oss+= configure +SUBST_FILES.oss+= sound.c +SUBST_SED.oss= -e 's,/dev/dsp,${DEVOSSAUDIO},' + +CONFIGURE_ARGS+= --enable-oss-sound +LIBS+= ${LIBOSSAUDIO} +.else +CONFIGURE_ARGS+= --disable-oss-sound +.endif + +.include "../../graphics/png/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" +.include "../../x11/libXft/buildlink3.mk" .include "../../x11/libXmu/buildlink3.mk" .include "../../x11/libXpm/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" +.include "../../x11/libXrandr/buildlink3.mk" +.include "../../x11/libXinerama/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |