| @@ -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 | |
3 | DISTNAME= cxref-1.6d | | 3 | DISTNAME= cxref-1.6d |
4 | CATEGORIES= devel lang | | 4 | CATEGORIES= devel lang |
5 | MASTER_SITES= http://www.gedanken.demon.co.uk/download-cxref/ | | 5 | MASTER_SITES= ${HOMEPAGE}/download/ |
6 | EXTRACT_SUFX= .tgz | | 6 | EXTRACT_SUFX= .tgz |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.gedanken.demon.co.uk/cxref/ | | 9 | HOMEPAGE= https://www.gedanken.org.uk/software/cxref/ |
10 | COMMENT= C Cross Referencing & Documenting tool | | 10 | COMMENT= C Cross Referencing & Documenting tool |
| | | 11 | LICENSE= gnu-gpl-v2 |
11 | | | 12 | |
12 | GNU_CONFIGURE= yes | | 13 | GNU_CONFIGURE= yes |
13 | CONFIGURE_ARGS+= --with-cxref-cpp | | | |
14 | CONFIGURE_ARGS+= PERL="" # Don't regenerate documentation | | 14 | CONFIGURE_ARGS+= PERL="" # Don't regenerate documentation |
15 | USE_TOOLS+= gmake # uses the $< variable in the GNU way | | 15 | USE_TOOLS+= gmake # uses the $< variable in the GNU way |
16 | USE_TOOLS+= lex yacc | | 16 | USE_TOOLS+= lex yacc |
17 | | | 17 | |
| | | 18 | post-extract: fix-install-target-on-case-insensitive-fs |
| | | 19 | .PHONY: fix-install-target-on-case-insensitive-fs |
| | | 20 | fix-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" |