PORTNAME= yeahwm PORTVERSION= 0.3.5 CATEGORIES= x11-wm MASTER_SITES= http://phrat.de/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Minimal X11 window manager with BeOS-like tabbed titles WWW= http://phrat.de/ USES= xorg USE_XORG= x11 xext xinerama MAKE_ARGS= CC="${CC}" XROOT="${LOCALBASE}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/yeahwm man/man1/yeahwm.1.gz PORTDOCS= README* OPTIONS_DEFINE= DOCS MOTIF MOTIF_DESC= Use Motif hints to find if window should be borderless MOTIF_BUILD_DEPENDS= ${LOCALBASE}/include/Xm/MwmUtil.h:x11-toolkits/open-motif post-patch: @${REINPLACE_CMD} -e 's, -Wall -Os,-fcommon,' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/DEF_FONT/s,variable,fixed,' ${WRKSRC}/config.h post-patch-MOTIF-off: @${REINPLACE_CMD} -e '/MWM_HINTS/s,define,undef,' ${WRKSRC}/config.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/yeahwm ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/yeahwm.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include