pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/wm/coma



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Dec 19 13:01:45 UTC 2022

Modified Files:
        pkgsrc/wm/coma: Makefile distinfo
Removed Files:
        pkgsrc/wm/coma/patches: patch-Makefile

Log Message:
wm/coma: package revision.

* Drop patch: DESTDIR support can be handled with MAKE_FLAGS.
* Do not require pkg-config: define LDFLAGS using BUIDLINK_PREFIX.
* Use REPLACE_INTEPRETER in place of a SUBST routine.
* Bump PKGREVISION.
* Take maintainership.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/wm/coma/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/wm/coma/distinfo
cvs rdiff -u -r1.4 -r0 pkgsrc/wm/coma/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/coma/Makefile
diff -u pkgsrc/wm/coma/Makefile:1.9 pkgsrc/wm/coma/Makefile:1.10
--- pkgsrc/wm/coma/Makefile:1.9 Wed May 11 07:50:07 2022
+++ pkgsrc/wm/coma/Makefile     Mon Dec 19 13:01:45 2022
@@ -1,31 +1,39 @@
-# $NetBSD: Makefile,v 1.9 2022/05/11 07:50:07 fcambus Exp $
+# $NetBSD: Makefile,v 1.10 2022/12/19 13:01:45 vins Exp $
 
 DISTNAME=      coma-1.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    wm
 MASTER_SITES=  https://coma.one/releases/
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=    vins%NetBSD.org@localhost
 HOMEPAGE=      https://coma.one/wm/
 COMMENT=       Keyboard driven tiling window manager
 LICENSE=       isc
 
-# Use sh instead of hardcoded zsh
-SUBST_CLASSES+=                shell
-SUBST_STAGE.shell=     pre-configure
-SUBST_MESSAGE.shell=   Use sh instead of hardcoded zsh
-SUBST_FILES.shell=     scripts/*
-SUBST_SED.shell+=      -e 's,zsh,sh,'
-
 USE_LANGUAGES= c99
-USE_TOOLS+=    pkg-config
 
-MAKE_FLAGS+=   MAN_DIR="${PREFIX}/${PKGMANDIR}"
+REPLACE_INTERPRETER+=  sh
+REPLACE.sh.old=                .*/bin/zsh
+REPLACE.sh.new=                ${SH:Q}
+REPLACE_FILES.sh+=     scripts/coma-cmd
+REPLACE_FILES.sh+=     scripts/coma-remote
+
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib
+LDFLAGS+=      -L${BUILDLINK_PREFIX.libX11}/lib -lX11 -lXft
+
+MAKE_FLAGS+=   CC=${CC:Q}
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+=   PREFIX=${DESTDIR}${PREFIX}
+MAKE_FLAGS+=   MAN_DIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "Linux"
 .  include "../../devel/libbsd/buildlink3.mk"
 .endif
+.include "../../graphics/freetype2/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXft/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/wm/coma/distinfo
diff -u pkgsrc/wm/coma/distinfo:1.6 pkgsrc/wm/coma/distinfo:1.7
--- pkgsrc/wm/coma/distinfo:1.6 Tue Oct 26 11:25:11 2021
+++ pkgsrc/wm/coma/distinfo     Mon Dec 19 13:01:45 2022
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:25:11 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/12/19 13:01:45 vins Exp $
 
 BLAKE2s (coma-1.1.tar.gz) = b5ff281480166bf01385e042e0a70f47556bcad93cb9775713a58e609b2f4023
 SHA512 (coma-1.1.tar.gz) = eb0e75a95d3ba0987851860eba19f432236de1949ae0eecd5d8141153b29179c128faa212a0a79e09123ad8b5f8b1c53de01ad08746f2605e182784605c73bd5
 Size (coma-1.1.tar.gz) = 16467 bytes
-SHA1 (patch-Makefile) = d8ac0caf8a5ec56b5bd734e7e1ae37c00aa49fc5



Home | Main Index | Thread Index | Old Index