aboutsummaryrefslogtreecommitdiffstats
path: root/finance/khacc/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-18 00:28:06 +0800
committerkrion <krion@FreeBSD.org>2003-12-18 00:28:06 +0800
commit960960d87aa631324d40b79724547e4497c11a0a (patch)
tree5d41b0002a0be6607dc4e7c513aa0b882e973eb1 /finance/khacc/Makefile
parent9b252cf574ed88e3589dea79435957ea7a2f5cf4 (diff)
downloadfreebsd-ports-gnome-960960d87aa631324d40b79724547e4497c11a0a.tar.gz
freebsd-ports-gnome-960960d87aa631324d40b79724547e4497c11a0a.tar.zst
freebsd-ports-gnome-960960d87aa631324d40b79724547e4497c11a0a.zip
- Update to version 1.7.4
PR: 60334 Submitted by: Ports Fury
Diffstat (limited to 'finance/khacc/Makefile')
-rw-r--r--finance/khacc/Makefile29
1 files changed, 15 insertions, 14 deletions
diff --git a/finance/khacc/Makefile b/finance/khacc/Makefile
index af079e482cbc..0d71a22344b6 100644
--- a/finance/khacc/Makefile
+++ b/finance/khacc/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= khacc
-PORTVERSION= 1.7.1
+PORTVERSION= 1.7.4
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= qhacc
@@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= qhacc
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple KDE-base financial manager
-LIB_DEPENDS= qhacc.2:${PORTSDIR}/finance/qhacc
+LIB_DEPENDS= qhacc.3:${PORTSDIR}/finance/qhacc
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
USE_KDELIBS_VER= 3
@@ -21,19 +21,20 @@ USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --with-qhacc-includes=${X11BASE}/include \
- --with-qhacc-libs=${X11BASE}/lib \
- --with-qt-moc=${QT_PREFIX}/bin \
- --with-qt-libs=${QT_PREFIX}/lib
+CONFIGURE_ARGS= --with-qhacc-config=${X11BASE}/bin
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
-STRIP= # none
+.include <bsd.port.pre.mk>
-post-patch:
- @${REINPLACE_CMD} -e 's|#! /bin/sh|#!${LOCALBASE}/bin/bash|g ; \
- s|/usr/local/q|${X11BASE}/lib/q|g' ${WRKSRC}/khacc/khacc.orig
- @${REINPLACE_CMD} -e 's|-pedantic||g' ${WRKSRC}/configure
+.if ${OSVERSION} < 500035
+CXXFLAGS+= -fpermissive
+.endif
-post-install:
- @${STRIP_CMD} ${PREFIX}/bin/khacc-*
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/khacc/khacc.in
+ @${REINPLACE_CMD} -e 's|-pedantic||g ; \
+ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>