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
|
2010-09-15 20:35:24 +02:00
|
|
|
PORTREVISION= 10
|
2003-08-12 20:09:33 +02:00
|
|
|
CATEGORIES= finance
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/qhacc/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2003-01-22 12:45:46 +01:00
|
|
|
|
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
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= automake:env autoconf:env libtool
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ARGS= --with-qhacc-config=${LOCALBASE}/bin
|
2003-12-17 17:28:06 +01:00
|
|
|
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>
|