openbsd-ports/x11/treewm/Makefile

40 lines
980 B
Makefile

# $OpenBSD: Makefile,v 1.8 2007/09/15 20:04:25 merdely Exp $
COMMENT= tree window manager
DISTNAME= treewm-0.4.5
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=treewm/} \
http://openbsd.rutgers.edu/
HOMEPAGE= http://treewm.sourceforge.net/
MAINTAINER= William Yodlowsky <bsd@openbsd.rutgers.edu>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xext Xmu Xpm Xt Xxf86vm c m stdc++
USE_GMAKE= Yes
USE_X11= Yes
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
PREFIX="${PREFIX}" \
LIBS="-L${X11BASE}/lib -lXxf86vm -lXpm -lXext -lX11" \
INCLUDES="-I${X11BASE}/include"
FAKE_FLAGS= ROOT="${DESTDIR}" \
DOCFILES="ChangeLog PROBLEMS README README.tiling"
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/treewm
${INSTALL_DATA} ${WRKSRC}/default.cfg ${WRKSRC}/sample.cfg \
${PREFIX}/share/examples/treewm
.include <bsd.port.mk>