diff options
Diffstat (limited to 'wm/dwm/Makefile')
-rw-r--r-- | wm/dwm/Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/wm/dwm/Makefile b/wm/dwm/Makefile index deb6aafc0d4..8f9cfea7710 100644 --- a/wm/dwm/Makefile +++ b/wm/dwm/Makefile @@ -1,30 +1,38 @@ -# $NetBSD: Makefile,v 1.14 2012/10/08 12:42:19 asau Exp $ +# $NetBSD: Makefile,v 1.15 2015/11/11 16:12:10 leot Exp $ # -DISTNAME= dwm-6.0 +DISTNAME= dwm-6.1 CATEGORIES= wm MASTER_SITES= http://dl.suckless.org/dwm/ -MAINTAINER= leot1990@users.sourceforge.net +MAINTAINER= leot@NetBSD.org HOMEPAGE= http://dwm.suckless.org/ COMMENT= Dynamic window manager LICENSE= mit NO_CONFIGURE= yes +USE_LANGUAGES= c99 # Adjust config.mk SUBST_CLASSES+= makefile -SUBST_STAGE.makefile= pre-build +SUBST_STAGE.makefile= pre-patch SUBST_MESSAGE.makefile= Fixing config.mk SUBST_FILES.makefile= config.mk SUBST_SED.makefile= -e 's,/usr/local,${PREFIX},g' 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,^CFLAGS *= ,CFLAGS += ,' +SUBST_SED.makefile+= -e 's,^LDFLAGS *= ,LDFLAGS += ,' +SUBST_SED.makefile+= -e 's/-I$${FREETYPEINC}/$${FREETYPEINC}/' +SUBST_SED.makefile+= -e 's,^FREETYPEINC *=.*,FREETYPEINC != freetype-config --cflags,' SUBST_SED.makefile+= -e 's/cc/${CC:Q}/' INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 .include "options.mk" + +.include "../../fonts/fontconfig/buildlink3.mk" +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXft/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |