2003-01-22 12:45:46 +01:00
|
|
|
# New ports collection makefile for: khacc
|
|
|
|
# Date created: 22 Jan 2003
|
|
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-08-12 20:09:33 +02:00
|
|
|
PORTNAME= khacc
|
2005-03-03 13:12:14 +01:00
|
|
|
PORTVERSION= 3.3
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 3
|
2003-08-12 20:09:33 +02:00
|
|
|
CATEGORIES= finance
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2003-01-22 12:45:46 +01:00
|
|
|
MASTER_SITE_SUBDIR= qhacc
|
|
|
|
|
2003-08-12 20:09:33 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-07-03 07:02:47 +02:00
|
|
|
COMMENT= Simple KDE-based financial manager
|
2003-01-22 12:45:46 +01:00
|
|
|
|
2006-07-03 08:10:56 +02:00
|
|
|
LIB_DEPENDS= qhacc.8:${PORTSDIR}/finance/qhacc
|
2004-08-14 08:07:33 +02:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2003-08-12 20:09:33 +02:00
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_KDELIBS_VER=3
|
|
|
|
USE_PERL5_BUILD=yes
|
2003-08-12 20:09:33 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_AUTOTOOLS= automake:19:env autoconf:259:env libtool:15
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-12-17 17:28:06 +01:00
|
|
|
CONFIGURE_ARGS= --with-qhacc-config=${X11BASE}/bin
|
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
|
|
AUTOHEADER="${TRUE}"
|
2003-08-12 20:09:33 +02:00
|
|
|
|
2003-12-17 17:28:06 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-08-12 20:09:33 +02:00
|
|
|
|
2003-12-17 17:28:06 +01:00
|
|
|
post-patch:
|
2004-08-14 08:07:33 +02:00
|
|
|
@${PERL} -pi -e \
|
2003-12-17 17:28:06 +01:00
|
|
|
's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/khacc/khacc.in
|
2004-08-14 08:07:33 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@cd ${CONFIGURE_WRKSRC} \
|
2004-10-12 15:34:33 +02:00
|
|
|
&& ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} -I ${ACLOCAL_DIR} \
|
2004-08-14 08:07:33 +02:00
|
|
|
&& ${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
|
2003-01-22 12:45:46 +01:00
|
|
|
|
2003-12-17 17:28:06 +01:00
|
|
|
.include <bsd.port.post.mk>
|