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