openbsd-ports/x11/treewm/Makefile
naddy 9f3e9bf5d6 Update to 0.4.5, fixes build with gcc3.
Reworked from a submission by William Yodlowsky <bsd@openbsd.rutgers.edu>.
2004-02-08 01:13:21 +00:00

39 lines
924 B
Makefile

# $OpenBSD: Makefile,v 1.6 2004/02/08 01:13:21 naddy 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
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>