2012-10-08 14:42:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2012/10/08 12:42:19 asau Exp $
|
2009-06-15 00:45:12 +02:00
|
|
|
#
|
2007-04-13 11:08:07 +02:00
|
|
|
|
2012-02-02 22:50:18 +01:00
|
|
|
DISTNAME= dwm-6.0
|
2007-04-13 11:08:07 +02:00
|
|
|
CATEGORIES= wm
|
2011-06-17 13:59:57 +02:00
|
|
|
MASTER_SITES= http://dl.suckless.org/dwm/
|
2007-04-13 11:08:07 +02:00
|
|
|
|
2009-06-15 00:45:12 +02:00
|
|
|
MAINTAINER= leot1990@users.sourceforge.net
|
|
|
|
HOMEPAGE= http://dwm.suckless.org/
|
2007-04-13 11:08:07 +02:00
|
|
|
COMMENT= Dynamic window manager
|
2009-06-15 00:45:12 +02:00
|
|
|
LICENSE= mit
|
|
|
|
|
2007-04-13 11:08:07 +02:00
|
|
|
NO_CONFIGURE= yes
|
2009-06-15 00:45:12 +02:00
|
|
|
|
|
|
|
# Adjust config.mk
|
|
|
|
SUBST_CLASSES+= makefile
|
|
|
|
SUBST_STAGE.makefile= pre-build
|
|
|
|
SUBST_MESSAGE.makefile= Fixing config.mk
|
|
|
|
SUBST_FILES.makefile= config.mk
|
2011-06-17 13:59:57 +02:00
|
|
|
SUBST_SED.makefile= -e 's,/usr/local,${PREFIX},g'
|
2009-06-15 00:45:12 +02:00
|
|
|
SUBST_SED.makefile+= -e 's,share/man,${PKGMANDIR},g'
|
|
|
|
SUBST_SED.makefile+= -e 's,/usr/X11R6,${X11BASE},'
|
|
|
|
SUBST_SED.makefile+= -e 's,^CFLAGS = ,CFLAGS += ,'
|
|
|
|
SUBST_SED.makefile+= -e 's,^LDFLAGS = ,LDFLAGS += ,'
|
|
|
|
SUBST_SED.makefile+= -e 's/cc/${CC:Q}/'
|
|
|
|
|
2008-12-07 16:46:39 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2007-04-13 11:08:07 +02:00
|
|
|
|
2009-06-15 00:45:12 +02:00
|
|
|
.include "options.mk"
|
2007-04-13 11:08:07 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|