aboutsummaryrefslogtreecommitdiffstats
path: root/finance/moneymanagerex/Makefile
blob: 7008e0b339e52b07b75e3412ecfc00356beb602a (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mmex
PORTVERSION=    0.9.9.0
CATEGORIES= finance
MASTER_SITES=   http://www.codelathe.com/${PORTNAME}/installer/linux/ \
        SF/moneymanagerex/moneymanagerex/Version%20${PORTVERSION}
DISTNAME=   ${PORTNAME}_${PORTVERSION}_src

MAINTAINER= ports@FreeBSD.org
COMMENT=    Free, open-source, easy-to-use personal finance software

LICENSE=    GPLv2

BUILD_DEPENDS=  ${LOCALBASE}/include/boost/version.hpp:${PORTSDIR}/devel/boost-libs

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG}
USE_WX=     2.8+
WX_UNICODE= yes

WRKSRC=     ${WRKDIR}/${PORTNAME}_${PORTVERSION}
CPPFLAGS+=  -I${LOCALBASE}/include          # helps to find boost

MAN1=       ${PORTNAME}.1
MANCOMPRESSED=  yes

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e '/man1/s,$$(datadir),${MANPREFIX},' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>