summaryrefslogtreecommitdiff
path: root/devel/cxref
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2021-05-08 09:24:52 +0000
committerschmonz <schmonz@pkgsrc.org>2021-05-08 09:24:52 +0000
commita6af068e8fa2ab768dfe43e12ca70bb6d3f6644c (patch)
treee042ca9d087a9d1c9abb36763399614ab38a06d9 /devel/cxref
parent1480733dffc76e283f87eab22ea932c9d806e7e9 (diff)
downloadpkgsrc-a6af068e8fa2ab768dfe43e12ca70bb6d3f6644c.tar.gz
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".
Diffstat (limited to 'devel/cxref')
-rw-r--r--devel/cxref/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/devel/cxref/Makefile b/devel/cxref/Makefile
index d6b3966accf..342050e0d77 100644
--- a/devel/cxref/Makefile
+++ b/devel/cxref/Makefile
@@ -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
-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"