1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/finance/khacc/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: khacc
# Date created: 22 Jan 2003
# Whom: Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= khacc
PORTVERSION= 3.3
PORTREVISION= 9
CATEGORIES= finance
MASTER_SITES= SF/qhacc/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple KDE-based financial manager
LIB_DEPENDS= qhacc.8:${PORTSDIR}/finance/qhacc
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_KDELIBS_VER=3
USE_PERL5_BUILD=yes
USE_GMAKE= yes
USE_AUTOTOOLS= automake:19:env autoconf:262:env libtool:22
CONFIGURE_ARGS= --with-qhacc-config=${LOCALBASE}/bin
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
.include <bsd.port.pre.mk>
post-patch:
@${PERL} -pi -e \
's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/khacc/khacc.in
pre-configure:
@cd ${CONFIGURE_WRKSRC} \
&& ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} -I ${ACLOCAL_DIR} \
&& ${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} ${AUTOMAKE_ARGS} \
&& ${PERL} admin/am_edit \
&& ${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF} ${AUTOCONF_ARGS} \
&& ${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' configure
.include <bsd.port.post.mk>