mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Update to version 1.7.4
PR: 60334 Submitted by: Ports Fury
This commit is contained in:
parent
698af116c8
commit
ba1622b904
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96063
@ -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>
|
||||
|
||||
.if ${OSVERSION} < 500035
|
||||
CXXFLAGS+= -fpermissive
|
||||
.endif
|
||||
|
||||
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
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/khacc/khacc.in
|
||||
@${REINPLACE_CMD} -e 's|-pedantic||g ; \
|
||||
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${PREFIX}/bin/khacc-*
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (khacc-1.7.1.tar.gz) = 0f3c2d8e96f064598746d652a76b5d0c
|
||||
MD5 (khacc-1.7.4.tar.gz) = b2318ab8ddc5b44fce6f8381f2a9f6ef
|
||||
|
15
finance/khacc/files/patch-configure
Normal file
15
finance/khacc/files/patch-configure
Normal file
@ -0,0 +1,15 @@
|
||||
--- configure.dist Wed Dec 10 22:08:44 2003
|
||||
+++ configure Mon Dec 15 02:20:38 2003
|
||||
@@ -24523,9 +24523,9 @@
|
||||
|
||||
|
||||
|
||||
-# Check whether --with-qhacc or --without-qhacc was given.
|
||||
-if test "${with_qhacc+set}" = set; then
|
||||
- withval="$with_qhacc"
|
||||
+# Check whether --with-qhacc-config or --without-qhacc-config was given.
|
||||
+if test "${with_qhacc_config+set}" = set; then
|
||||
+ withval="$with_qhacc_config"
|
||||
|
||||
echo -n "checking for qhacc-config... "
|
||||
for dir in $withval
|
File diff suppressed because it is too large
Load Diff
17
finance/khacc/files/patch-khacc::khacc.in
Normal file
17
finance/khacc/files/patch-khacc::khacc.in
Normal file
@ -0,0 +1,17 @@
|
||||
--- khacc/khacc.in.orig Sun Oct 12 21:58:50 2003
|
||||
+++ khacc/khacc.in Sun Dec 14 22:47:45 2003
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/sh
|
||||
+#!%%LOCALBASE%%/bin/bash
|
||||
###############################################################
|
||||
# parse the command line, and call the appropriate executable #
|
||||
# #
|
||||
@@ -17,7 +17,7 @@
|
||||
}
|
||||
|
||||
# You can change QHACC_ROOT and QHACC_HOME to fit your needs
|
||||
-QHACC_ROOT=${QHACC_ROOT:="@QHACCROOT@"}
|
||||
+QHACC_ROOT=${QHACC_ROOT:="@QHACCROOT@/lib/qhacc"}
|
||||
QHACC_HOME=${QHACC_HOME:="DEFAULT"}
|
||||
KHACC_HOME=${KHACC_HOME:=$QHACC_HOME}
|
||||
|
@ -1,8 +1,14 @@
|
||||
bin/khacc
|
||||
bin/khacc-gui
|
||||
share/applnk/Applications/khacc.desktop
|
||||
share/apps/khacc/khaccui.rc
|
||||
share/apps/khacc/sounds/cash.wav
|
||||
share/apps/khacc/sounds/loss.wav
|
||||
share/doc/HTML/en/khacc/common
|
||||
share/doc/HTML/en/khacc/index.cache.bz2
|
||||
share/doc/HTML/en/khacc/index.docbook
|
||||
share/icons/locolor/16x16/apps/khacc.png
|
||||
share/icons/locolor/32x32/apps/khacc.png
|
||||
@dirrm share/doc/HTML/en/khacc
|
||||
@dirrm share/apps/khacc/sounds
|
||||
@dirrm share/apps/khacc
|
||||
|
Loading…
Reference in New Issue
Block a user