diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-18 14:33:34 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-18 14:33:34 +0000 |
commit | 0aea4f4699480fb770a22404967d7943e062ebe5 (patch) | |
tree | 32942e0e4b3ea06eccea2e9288b32c4f3234f5f0 /x11-wm/vtwm | |
parent | 18fed5718ed003b4856b6f27b75236f5e4e88f53 (diff) | |
download | ports-0aea4f4699480fb770a22404967d7943e062ebe5.tar.gz ports-0aea4f4699480fb770a22404967d7943e062ebe5.zip |
Notes
Diffstat (limited to 'x11-wm/vtwm')
-rw-r--r-- | x11-wm/vtwm/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/x11-wm/vtwm/Makefile b/x11-wm/vtwm/Makefile index c256afc55f03..213b238131d5 100644 --- a/x11-wm/vtwm/Makefile +++ b/x11-wm/vtwm/Makefile @@ -13,11 +13,23 @@ MASTER_SITES= http://www.vtwm.org/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= Twm with a virtual desktop and optional Motif-like features -LIB_DEPENDS= rplay.1:${PORTSDIR}/audio/rplay - USE_IMAKE= yes USE_XPM= yes MAN1= vtwm.1 -.include <bsd.port.mk> +OPTIONS= SOUND "Sound support" on + +.include <bsd.port.pre.mk> + +post-patch: +.if defined(WITHOUT_SOUND) + @${REINPLACE_CMD} -i "" -e \ + 's:^XCOMM NO_SOUND_SUPPORT: NO_SOUND_SUPPORT:; \ + s:^SOUNDLIB:XCOMM SOUNDLIB:; \ + s:^SOUNDINC:XCOMM SOUNDINC: ' ${WRKSRC}/Imakefile +.else +LIB_DEPENDS+= rplay.1:${PORTSDIR}/audio/rplay +.endif + +.include <bsd.port.post.mk> |