2007-11-25 07:07:06 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2007/11/25 12:07:06 kili Exp $
|
2007-05-26 16:12:15 -04:00
|
|
|
|
2007-07-29 13:26:10 -04:00
|
|
|
COMMENT= dynamic window manager
|
2007-05-26 16:12:15 -04:00
|
|
|
|
2007-11-25 07:07:06 -05:00
|
|
|
V= 4.7
|
2007-05-26 16:12:15 -04:00
|
|
|
DISTNAME= dwm-$V
|
|
|
|
|
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.suckless.org/wiki/dwm/
|
|
|
|
|
2007-07-29 13:26:10 -04:00
|
|
|
MAINTAINER= Jim Razmus <jim@bonetruck.org>
|
2007-05-26 16:12:15 -04:00
|
|
|
|
|
|
|
# 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/
|
|
|
|
|
2007-10-23 09:29:03 -04:00
|
|
|
RUN_DEPENDS= ::x11/dmenu \
|
|
|
|
::x11/terminus-font
|
2007-07-29 13:26:10 -04:00
|
|
|
|
2007-05-26 16:12:15 -04:00
|
|
|
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
|
|
|
|
|
2007-10-27 08:41:48 -04:00
|
|
|
pre-patch:
|
|
|
|
@cp ${WRKSRC}/config.def.h ${WRKSRC}/config.h
|
|
|
|
|
2007-05-26 16:12:15 -04:00
|
|
|
.include <bsd.port.mk>
|