| @@ -1,42 +1,36 @@ | | | @@ -1,42 +1,36 @@ |
1 | # $NetBSD: Makefile,v 1.12 2019/11/04 21:43:34 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.13 2020/09/19 14:02:31 rhialto Exp $ |
2 | # | | 2 | # |
3 | # In order to ensure compliance with U.S. and international law, please | | 3 | # In order to ensure compliance with U.S. and international law, please |
4 | # do not modify this file to provide pointers to the source or homepage | | 4 | # do not modify this file to provide pointers to the source or homepage |
5 | # for this software or submit any PRs telling us the contents of the | | 5 | # for this software or submit any PRs telling us the contents of the |
6 | # HOMEPAGE or MASTER_SITES definitions in this Makefile. | | 6 | # HOMEPAGE or MASTER_SITES definitions in this Makefile. |
7 | | | 7 | |
8 | DISTNAME= clit18src | | 8 | DISTNAME= clit18src |
9 | PKGNAME= convertlit-1.8 | | 9 | PKGNAME= convertlit-1.8 |
10 | PKGREVISION= 1 | | 10 | PKGREVISION= 1 |
11 | CATEGORIES= textproc | | 11 | CATEGORIES= textproc |
12 | MASTER_SITES= ${CONVERTLIT_MASTER_SITES} | | 12 | MASTER_SITES= ${CONVERTLIT_MASTER_SITES} |
13 | EXTRACT_SUFX= .zip | | 13 | EXTRACT_SUFX= .zip |
14 | | | 14 | |
15 | MAINTAINER= pkgsrc-users@NetBSD.org | | 15 | MAINTAINER= pkgsrc-users@NetBSD.org |
16 | HOMEPAGE= ${CONVERTLIT_HOMEPAGE} | | 16 | HOMEPAGE= ${CONVERTLIT_HOMEPAGE} |
17 | COMMENT= Convert Microsoft Legal Reader format eBooks into open format | | 17 | COMMENT= Convert Microsoft Legal Reader format eBooks into open format |
18 | | | 18 | |
19 | WRKSRC= ${WRKDIR} | | 19 | WRKSRC= ${WRKDIR} |
20 | BUILD_DIRS= lib clit18 | | 20 | BUILD_DIRS= lib clit18 |
21 | MAKE_FILE= Makefile | | 21 | MAKE_FILE= Makefile |
22 | USE_TOOLS+= gmake | | 22 | USE_TOOLS+= gmake |
23 | | | 23 | |
24 | SUBST_CLASSES+= d2u | | | |
25 | SUBST_STAGE.d2u= pre-configure | | | |
26 | SUBST_MESSAGE.d2u= Stripping CRLF line ends. | | | |
27 | SUBST_FILES.d2u+= *.h *.c */*.h */*.c */*/*.h */*/*.c | | | |
28 | SUBST_FILTER_CMD.d2u= ${TR} -d '\r' | | | |
29 | | | | |
30 | SUBST_CLASSES+= flags | | 24 | SUBST_CLASSES+= flags |
31 | SUBST_STAGE.flags= pre-configure | | 25 | SUBST_STAGE.flags= pre-configure |
32 | SUBST_MESSAGE.flags= Fixing CFLAGS and compiler invocation. | | 26 | SUBST_MESSAGE.flags= Fixing CFLAGS and compiler invocation. |
33 | SUBST_FILES.flags+= clit18/Makefile | | 27 | SUBST_FILES.flags+= clit18/Makefile |
34 | SUBST_SED.flags+= -e 's,^CFLAGS=.*,CFLAGS+=-funsigned-char -Wall -I ../lib -I ../lib/des -I .,' | | 28 | SUBST_SED.flags+= -e 's,^CFLAGS=.*,CFLAGS+=-funsigned-char -Wall -I ../lib -I ../lib/des -I .,' |
35 | SUBST_SED.flags+= -e 's,gcc -o clit .. ../libtommath-0.30/libtommath.a,gcc $$(LDFLAGS) -o clit $$^ -ltommath,' | | 29 | SUBST_SED.flags+= -e 's,gcc -o clit .. ../libtommath-0.30/libtommath.a,gcc $$(LDFLAGS) -o clit $$^ -ltommath,' |
36 | | | 30 | |
37 | RESTRICTED= Possible legal problems | | 31 | RESTRICTED= Possible legal problems |
38 | NO_SRC_ON_FTP= ${RESTRICTED} | | 32 | NO_SRC_ON_FTP= ${RESTRICTED} |
39 | NO_BIN_ON_FTP= ${RESTRICTED} | | 33 | NO_BIN_ON_FTP= ${RESTRICTED} |
40 | NO_SRC_ON_CDROM= ${RESTRICTED} | | 34 | NO_SRC_ON_CDROM= ${RESTRICTED} |
41 | NO_BIN_ON_CDROM= ${RESTRICTED} | | 35 | NO_BIN_ON_CDROM= ${RESTRICTED} |
42 | | | 36 | |