2008-12-14 10:35:10 +00:00
|
|
|
# New ports collection makefile for: wmfs
|
|
|
|
# Date created: 08 December 2008
|
|
|
|
# Whom: Dennis Herrmann <adox@mcx2.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmfs
|
2010-01-25 09:38:22 +00:00
|
|
|
DISTVERSION= 201001
|
2008-12-14 10:35:10 +00:00
|
|
|
CATEGORIES= x11-wm
|
2010-01-25 09:38:22 +00:00
|
|
|
MASTER_SITES= http://www.wmfs.info/static/dl/
|
2008-12-14 10:35:10 +00:00
|
|
|
|
2009-03-06 18:14:36 +00:00
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
2008-12-14 10:35:10 +00:00
|
|
|
COMMENT= A floating and tiling Window Manager From Scratch
|
|
|
|
|
2010-01-25 09:38:22 +00:00
|
|
|
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
2008-12-14 10:35:10 +00:00
|
|
|
|
|
|
|
USE_GNOME= pkgconfig
|
|
|
|
USE_CMAKE= yes
|
|
|
|
USE_XORG= x11 xft xpm
|
|
|
|
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
|
|
|
PLIST_FILES= bin/wmfs \
|
|
|
|
etc/xdg/wmfs/wmfsrc \
|
2010-01-25 09:38:22 +00:00
|
|
|
share/xsessions/wmfs.desktop \
|
2008-12-14 10:35:10 +00:00
|
|
|
%%DOCSDIR%%/TODO \
|
|
|
|
%%DOCSDIR%%/README \
|
|
|
|
%%DOCSDIR%%/wmfsrc
|
2010-01-25 09:38:22 +00:00
|
|
|
PLIST_DIRS= %%DOCSDIR%% etc/xdg/wmfs etc/xdg share/xsessions
|
2008-12-14 10:35:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
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 <bsd.port.post.mk>
|