| @@ -1,50 +1,50 @@ | | | @@ -1,50 +1,50 @@ |
1 | # $NetBSD: Makefile,v 1.67 2023/01/30 11:46:03 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.68 2023/03/04 11:22:08 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= FlightCrew-0.7.2-Code | | 3 | DISTNAME= FlightCrew-0.7.2-Code |
4 | PKGNAME= ${DISTNAME:S/-Code//} | | 4 | PKGNAME= ${DISTNAME:S/-Code//} |
5 | PKGREVISION= 52 | | 5 | PKGREVISION= 52 |
6 | CATEGORIES= textproc | | 6 | CATEGORIES= textproc |
7 | MASTER_SITES= http://flightcrew.googlecode.com/files/ | | 7 | MASTER_SITES= http://flightcrew.googlecode.com/files/ |
8 | EXTRACT_SUFX= .zip | | 8 | EXTRACT_SUFX= .zip |
9 | | | 9 | |
10 | MAINTAINER= ryoon@NetBSD.org | | 10 | MAINTAINER= ryoon@NetBSD.org |
11 | HOMEPAGE= https://github.com/Sigil-Ebook/flightcrew | | 11 | HOMEPAGE= https://github.com/Sigil-Ebook/flightcrew |
12 | COMMENT= EPUB validator | | 12 | COMMENT= EPUB validator |
13 | LICENSE= gnu-lgpl-v3 AND cc-by-sa-v3.0 | | 13 | LICENSE= gnu-lgpl-v3 AND cc-by-sa-v3.0 |
14 | | | 14 | |
15 | WRKSRC= ${WRKDIR} | | 15 | WRKSRC= ${WRKDIR} |
16 | | | 16 | |
17 | USE_LANGUAGES= c c++11 | | 17 | USE_LANGUAGES= c c++14 |
18 | USE_CMAKE= yes | | 18 | USE_CMAKE= yes |
19 | | | 19 | |
20 | # Work around NetBSD unzip vs others for patched files. | | 20 | # Work around NetBSD unzip vs others for patched files. |
21 | SUBST_CLASSES+= cr | | 21 | SUBST_CLASSES+= cr |
22 | SUBST_STAGE.cr= post-extract | | 22 | SUBST_STAGE.cr= post-extract |
23 | SUBST_FILES.cr+= CMakeLists.txt src/FlightCrew/CMakeLists.txt | | 23 | SUBST_FILES.cr+= CMakeLists.txt src/FlightCrew/CMakeLists.txt |
24 | SUBST_FILES.cr+= src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp | | 24 | SUBST_FILES.cr+= src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp |
25 | SUBST_FILES.cr+= src/FlightCrew/tests/CMakeLists.txt | | 25 | SUBST_FILES.cr+= src/FlightCrew/tests/CMakeLists.txt |
26 | SUBST_FILES.cr+= src/XercesExtensions/LocationAwareDOMParser.cpp | | 26 | SUBST_FILES.cr+= src/XercesExtensions/LocationAwareDOMParser.cpp |
27 | SUBST_FILES.cr+= src/utf8-cpp/utf8/core.h | | 27 | SUBST_FILES.cr+= src/utf8-cpp/utf8/core.h |
28 | SUBST_FILTER_CMD.cr= ${TR} -d '\r' | | 28 | SUBST_FILTER_CMD.cr= ${TR} -d '\r' |
29 | SUBST_NOOP_OK.cr= yes | | 29 | SUBST_NOOP_OK.cr= yes |
30 | | | 30 | |
31 | BUILDLINK_TRANSFORM+= l:BoostParts:boost_date_time:boost_filesystem:boost_regex:boost_system:boost_thread:boost_program_options | | 31 | BUILDLINK_TRANSFORM+= l:BoostParts:boost_date_time:boost_filesystem:boost_regex:boost_system:boost_thread:boost_program_options |
32 | BUILDLINK_TRANSFORM+= l:Xerces:xerces-c | | 32 | BUILDLINK_TRANSFORM+= l:Xerces:xerces-c |
33 | BUILDLINK_TRANSFORM+= l:zlib:z | | 33 | BUILDLINK_TRANSFORM+= l:zlib:z |
34 | | | 34 | |
35 | SUBST_CLASSES+= fix-damaged | | 35 | SUBST_CLASSES+= fix-damaged |
36 | SUBST_STAGE.fix-damaged= pre-patch | | 36 | SUBST_STAGE.fix-damaged= pre-patch |
37 | SUBST_MESSAGE.fix-damaged= fixing | | 37 | SUBST_MESSAGE.fix-damaged= fixing |
38 | SUBST_FILES.fix-damaged= src/FlightCrew/tests/misc_tests/ConvertUtf8PathToBoostPath_test.cpp | | 38 | SUBST_FILES.fix-damaged= src/FlightCrew/tests/misc_tests/ConvertUtf8PathToBoostPath_test.cpp |
39 | SUBST_SED.fix-damaged+= -e "2,2s/^/\//" # commented-out | | 39 | SUBST_SED.fix-damaged+= -e "2,2s/^/\//" # commented-out |
40 | SUBST_SED.fix-damaged+= -e "1,1d" # deleted | | 40 | SUBST_SED.fix-damaged+= -e "1,1d" # deleted |
41 | | | 41 | |
42 | post-extract: | | 42 | post-extract: |
43 | ${RM} -rf ${WRKDIR}/src/BoostParts ${WRKDIR}/src/Xerces ${WRKDIR}/src/zlib ${WRKDIR}/src/googlemock | | 43 | ${RM} -rf ${WRKDIR}/src/BoostParts ${WRKDIR}/src/Xerces ${WRKDIR}/src/zlib ${WRKDIR}/src/googlemock |
44 | | | 44 | |
45 | .include "../../devel/googletest/buildlink3.mk" | | 45 | .include "../../devel/googletest/buildlink3.mk" |
46 | .include "../../textproc/xerces-c/buildlink3.mk" | | 46 | .include "../../textproc/xerces-c/buildlink3.mk" |
47 | .include "../../devel/zlib/buildlink3.mk" | | 47 | .include "../../devel/zlib/buildlink3.mk" |
48 | .include "../../devel/boost-libs/buildlink3.mk" | | 48 | .include "../../devel/boost-libs/buildlink3.mk" |
49 | .include "../../x11/qt4-tools/buildlink3.mk" | | 49 | .include "../../x11/qt4-tools/buildlink3.mk" |
50 | .include "../../mk/bsd.pkg.mk" | | 50 | .include "../../mk/bsd.pkg.mk" |