Sat May 8 09:24:52 2021 UTC ()
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".


(schmonz)
diff -r1.15 -r1.16 pkgsrc/devel/cxref/Makefile

cvs diff -r1.15 -r1.16 pkgsrc/devel/cxref/Makefile (expand / switch to unified diff)

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