aboutsummaryrefslogtreecommitdiffstats
path: root/finance/emma/Makefile
blob: 5b48d8099f99b99436c19a21ea6924cb4dd1c72c (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
# New ports collection makefile for:    emma
# Date created:             7 November 2000
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   emma
PORTVERSION=    0.8.2
PORTREVISION=   1
CATEGORIES= finance gnome python
MASTER_SITES=   http://rainbow.mimuw.edu.pl/~la181249/emma/packages/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A personal finance manager for Gnome

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/mx/DateTime/DateTime.py:${PORTSDIR}/lang/py-mx-base

USE_X_PREFIX=   yes
USE_PYTHON= yes
USE_GNOME=  gnomehack gnomelibs gnomeprefix
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|g' \
        ${WRKSRC}/configure

pre-configure:
    @${RM} -f ${WRKSRC}/config.cache

.include <bsd.port.mk>