pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/re2c



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Dec 31 14:56:28 UTC 2024

Modified Files:
        pkgsrc/devel/re2c: Makefile PLIST

Log Message:
re2c: switch to CMake build system

Consistently installs re2java now.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/re2c/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/re2c/PLIST

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

Modified files:

Index: pkgsrc/devel/re2c/Makefile
diff -u pkgsrc/devel/re2c/Makefile:1.31 pkgsrc/devel/re2c/Makefile:1.32
--- pkgsrc/devel/re2c/Makefile:1.31     Mon Dec 30 18:49:09 2024
+++ pkgsrc/devel/re2c/Makefile  Tue Dec 31 14:56:27 2024
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2024/12/30 18:49:09 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2024/12/31 14:56:27 wiz Exp $
 
 DISTNAME=      re2c-4.0.2
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=skvadrik/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
@@ -12,12 +13,21 @@ COMMENT=    Deterministic Finite State Auto
 LICENSE=       public-domain
 
 USE_LANGUAGES=         c c++
-USE_TOOLS+=            bison gmake
-GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --disable-java
+USE_TOOLS+=            bison
 # needs 'make install'
 TEST_TARGET=           check
 PYTHON_FOR_BUILD_ONLY= tool
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${PKGMANDIR} != "share/man"
+SUBST_CLASSES+=                man
+SUBST_SED.man+=                -e "s,share/man/man1,${PKGMANDIR}/man1,"
+SUBST_FILES.man+=      CMakeLists.txt
+SUBST_STAGE.man=       pre-configure
+SUBST_MESSAGE.man=     Fixing man page path.
+.endif
+
 .include "../../lang/python/tool.mk"
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/re2c/PLIST
diff -u pkgsrc/devel/re2c/PLIST:1.4 pkgsrc/devel/re2c/PLIST:1.5
--- pkgsrc/devel/re2c/PLIST:1.4 Thu Dec 26 11:47:46 2024
+++ pkgsrc/devel/re2c/PLIST     Tue Dec 31 14:56:27 2024
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2024/12/26 11:47:46 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2024/12/31 14:56:27 wiz Exp $
 bin/re2c
 bin/re2d
 bin/re2go
 bin/re2hs
+bin/re2java
 bin/re2js
 bin/re2ocaml
 bin/re2py
@@ -13,6 +14,7 @@ man/man1/re2c.1
 man/man1/re2d.1
 man/man1/re2go.1
 man/man1/re2hs.1
+man/man1/re2java.1
 man/man1/re2js.1
 man/man1/re2ocaml.1
 man/man1/re2py.1



Home | Main Index | Thread Index | Old Index