pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cxref Move "INSTALL" to "INSTALL.txt" so the "in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ada447dc9244
branches:  trunk
changeset: 452305:ada447dc9244
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat May 08 09:24:52 2021 +0000

description:
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:

 devel/cxref/Makefile |  16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r a98083c7e868 -r ada447dc9244 devel/cxref/Makefile
--- a/devel/cxref/Makefile      Sat May 08 09:16:38 2021 +0000
+++ b/devel/cxref/Makefile      Sat May 08 09:24:52 2021 +0000
@@ -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