blob: 31a3a124f7da039e0eb2d27acf1f2bccd19dbb92 (
plain) (
blame)
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
|
PORTNAME= ktoblzcheck
PORTVERSION= 1.53
PORTREVISION= 6
CATEGORIES= finance german
MASTER_SITES= SF/${PORTNAME} \
LOCAL/jhale:bankdata
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-bankdata-${BANKDATA_DATE}${EXTRACT_SUFX}:bankdata
MAINTAINER= jhale@FreeBSD.org
COMMENT= Check bank codes of German banks
WWW= http://ktoblzcheck.sourceforge.net/
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake pathfix python:3.7+,build
USE_LDCONFIG= yes
CMAKE_ON= INSTALL_RAW_BANKDATA_FILE
CMAKE_OFF= ENABLE_BANKDATA_DOWNLOAD
PLIST_SUB= BANKDATA_DATE=${BANKDATA_DATE}
PORTDOCS= README.md
BANKDATA_DATE= 20220905
OPTIONS_DEFINE= DOCS DOXYGEN
OPTIONS_SUB= yes
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
dot:graphics/graphviz
DOXYGEN_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Doxygen
TEST_TARGET= test
post-patch:
@${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_DATADIR}\/man|$${CMAKE_INSTALL_MANDIR}|' ${WRKSRC}/doc/CMakeLists.txt
@(cd ${WRKSRC}/src/bankdata && ${RM} bankdata_*.txt blz_*.txt)
@${CP} ${WRKDIR}/${PORTNAME}-bankdata-${BANKDATA_DATE}/blz_${BANKDATA_DATE}.txt ${WRKSRC}/src/bankdata
@${TOUCH} ${WRKSRC}/src/bankdata/bankdata_${BANKDATA_DATE}.txt
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|