head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.12 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.10 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.8 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.6 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2024.12.08.15.09.54; author vins; state Exp; branches; next ; commitid aV3GGGcnM1uf4IAF; desc @@ 1.1 log @wm/emwm: few enhancements * Switch to a unified makefile, replacing per-platform makefiles. * Standardise build environment. * Install system-wide configuration at the right location. Revision bumped. @ text @$NetBSD: patch-mf_Makefile.pkgsrc,v 1.1 2024/12/08 13:09:43 vins Exp $ Add custom Makefile for pkgsrc. --- mf/Makefile.pkgsrc.orig 2024-12-08 14:52:35.378535425 +0000 +++ mf/Makefile.pkgsrc @@@@ -0,0 +1,18 @@@@ +# EMWM pkgsrc Makefile + +PREFIX = @@PREFIX@@ +BINDIR = @@PREFIX@@/bin +MANDIR = @@PREFIX@@/@@PKGMANDIR@@ +RCDIR = @@RCDIR@@ +APPLRESDIR = $(RCDIR)/app-defaults + +DEFINES = -DPREFIX='"$(PREFIX)"' -DRCDIR='"$(RCDIR)"' + +SYSLIBS = -lcrypt + +.include "common.mf" + +.c.o: + $(CC) $(CFLAGS) $(DEFINES) -c -o $(<:.c=.o) $> + +install: common_install @