2008-12-14 11:35:10 +01:00
|
|
|
# New ports collection makefile for: wmfs
|
|
|
|
# Date created: 08 December 2008
|
|
|
|
# Whom: Dennis Herrmann <adox@mcx2.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmfs
|
2010-08-08 23:09:50 +02:00
|
|
|
DISTVERSION= 201008
|
2008-12-14 11:35:10 +01:00
|
|
|
CATEGORIES= x11-wm
|
2010-08-08 23:09:50 +02:00
|
|
|
MASTER_SITES= http://dl.wmfs.info/
|
2008-12-14 11:35:10 +01:00
|
|
|
|
2009-03-06 19:14:36 +01:00
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
2008-12-14 11:35:10 +01:00
|
|
|
COMMENT= A floating and tiling Window Manager From Scratch
|
|
|
|
|
2010-01-25 10:38:22 +01:00
|
|
|
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
2008-12-14 11:35:10 +01: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 10:38:22 +01:00
|
|
|
share/xsessions/wmfs.desktop \
|
2008-12-14 11:35:10 +01:00
|
|
|
%%DOCSDIR%%/TODO \
|
|
|
|
%%DOCSDIR%%/README \
|
|
|
|
%%DOCSDIR%%/wmfsrc
|
2010-01-25 10:38:22 +01:00
|
|
|
PLIST_DIRS= %%DOCSDIR%% etc/xdg/wmfs etc/xdg share/xsessions
|
2008-12-14 11:35:10 +01:00
|
|
|
|
2010-03-28 22:04:18 +02:00
|
|
|
OPTIONS= IMLIB2 "Enable Imlib2 support" on
|
|
|
|
|
2008-12-14 11:35:10 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-03-28 22:04:18 +02:00
|
|
|
.if defined(WITH_IMLIB2)
|
|
|
|
USE_EFL+= imlib2
|
|
|
|
.endif
|
|
|
|
|
2008-12-14 11:35:10 +01:00
|
|
|
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>
|