aboutsummaryrefslogtreecommitdiffstats
path: root/finance/ktoblzcheck/Makefile
blob: f868bc5771fbbcb1a099ac912c46ed9550c512e5 (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
# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ktoblzcheck
PORTVERSION=    1.49
CATEGORIES= finance german
MASTER_SITES=   SF/${PORTNAME}

MAINTAINER= jhale@FreeBSD.org
COMMENT=    Check bank codes of German banks

LICENSE=    LGPL21+
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       libtool pathfix perl5
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --with-wget=${FETCH_BINARY}
INSTALL_TARGET= install-strip

SUB_FILES=  pkg-deinstall pkg-message
PORTDOCS=   README

OPTIONS_DEFINE= DOCS PYTHON
OPTIONS_SUB=    yes

PYTHON_USES=            python:2
PYTHON_CONFIGURE_ENABLE=    python

TEST_TARGET=            check

post-patch:
    @${REINPLACE_CMD} -e "s/-lstdc++//g" ${WRKSRC}/src/lib/Makefile.in

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>