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

PORTNAME=	ktoblzcheck
PORTVERSION=	1.49
PORTREVISION=	1
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.7
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>