35 lines
684 B
Makefile
35 lines
684 B
Makefile
# $OpenBSD: Makefile,v 1.2 2007/07/02 21:51:22 kili Exp $
|
|
|
|
COMMENT= "dynamic window manager"
|
|
|
|
V= 4.2
|
|
DISTNAME= dwm-$V
|
|
|
|
CATEGORIES= x11
|
|
|
|
HOMEPAGE= http://www.suckless.org/wiki/dwm/
|
|
|
|
MAINTAINER= Matthias Kilian <kili@openbsd.org>
|
|
|
|
# MIT/X
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= X11 c
|
|
|
|
MASTER_SITES= http://www.suckless.org/download/
|
|
|
|
CFLAGS+= -I. -I${X11BASE}/include -DVERSION=\\\"$V\\\"
|
|
LDFLAGS+= -L${X11BASE}/lib -lX11
|
|
MAKE_FLAGS= CC=${CC} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
FAKE_FLAGS= MANPREFIX=${PREFIX}/man \
|
|
PREFIX=${PREFIX}
|
|
|
|
USE_X11= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|