pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cxref



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sat May  8 09:24:52 UTC 2021

Modified Files:
        pkgsrc/devel/cxref: Makefile

Log Message:
Move "INSTALL" to "INSTALL.txt" so the "install" targets run as expected
on macOS with case-insensitive filesystem, fixing install of cxref.1.

While here, set LICENSE, update MASTER_SITES and HOMEPAGE, and remove
unrecognized configure option "--with-cxref-cpp".


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/cxref/Makefile

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

Modified files:

Index: pkgsrc/devel/cxref/Makefile
diff -u pkgsrc/devel/cxref/Makefile:1.15 pkgsrc/devel/cxref/Makefile:1.16
--- pkgsrc/devel/cxref/Makefile:1.15    Wed Oct 31 11:16:51 2012
+++ pkgsrc/devel/cxref/Makefile Sat May  8 09:24:52 2021
@@ -1,18 +1,26 @@
-# $NetBSD: Makefile,v 1.15 2012/10/31 11:16:51 asau Exp $
+# $NetBSD: Makefile,v 1.16 2021/05/08 09:24:52 schmonz Exp $
 
 DISTNAME=      cxref-1.6d
 CATEGORIES=    devel lang
-MASTER_SITES=  http://www.gedanken.demon.co.uk/download-cxref/
+MASTER_SITES=  ${HOMEPAGE}/download/
 EXTRACT_SUFX=  .tgz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.gedanken.demon.co.uk/cxref/
+HOMEPAGE=      https://www.gedanken.org.uk/software/cxref/
 COMMENT=       C Cross Referencing & Documenting tool
+LICENSE=       gnu-gpl-v2
 
 GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --with-cxref-cpp
 CONFIGURE_ARGS+=       PERL="" # Don't regenerate documentation
 USE_TOOLS+=            gmake   # uses the $< variable in the GNU way
 USE_TOOLS+=            lex yacc
 
+post-extract: fix-install-target-on-case-insensitive-fs
+.PHONY: fix-install-target-on-case-insensitive-fs
+fix-install-target-on-case-insensitive-fs:
+       cd ${WRKSRC} \
+               && ${MV} -f doc/INSTALL doc/INSTALL.txt \
+               && ${RM} -f INSTALL \
+               && ${LN} -s doc/INSTALL.txt INSTALL.txt
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index