# New ports collection makefile for: wmfs # Date created: 08 December 2008 # Whom: Dennis Herrmann # # $FreeBSD$ # PORTNAME= wmfs DISTVERSION= 201008 CATEGORIES= x11-wm MASTER_SITES= http://dl.wmfs.info/ MAINTAINER= dhn@FreeBSD.org COMMENT= A floating and tiling Window Manager From Scratch LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 USE_GNOME= pkgconfig USE_CMAKE= yes USE_XORG= x11 xft xpm MAN1= ${PORTNAME}.1 MANCOMPRESSED= yes PLIST_FILES= bin/wmfs \ etc/xdg/wmfs/wmfsrc \ share/xsessions/wmfs.desktop \ %%DOCSDIR%%/TODO \ %%DOCSDIR%%/README \ %%DOCSDIR%%/wmfsrc PLIST_DIRS= %%DOCSDIR%% etc/xdg/wmfs etc/xdg share/xsessions OPTIONS= IMLIB2 "Enable Imlib2 support" on .include .if defined(WITH_IMLIB2) USE_EFL+= imlib2 .endif post-patch: @${REINPLACE_CMD} -e 's|share/$${PROJECT_NAME})|${DOCSDIR})|g' \ -e 's|$${PREFIX}/share/man|/$${PREFIX}/man|g' \ -e 's|$${SYSCONFDIR}/xdg|${PREFIX}/etc/xdg|g' ${WRKSRC}/CMakeLists.txt post-install: ${INSTALL_PROGRAM} ${WRKSRC}/wmfs ${PREFIX}/bin/ .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}/TODO ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README ${INSTALL_DATA} ${WRKSRC}/wmfsrc ${DOCSDIR}/wmfsrc .endif @${CAT} ${PKGMESSAGE} | ${SED} "s|PREFIX|${PREFIX}|g" \ ${PKGDIR}/pkg-message .include