aboutsummaryrefslogtreecommitdiff
path: root/math/kcalc/Makefile
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-11-08 00:34:12 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-11-08 00:34:12 +0000
commit14a1da27f45c47f56c03f100467c4145b22cc27f (patch)
tree1672be7254edbd4e14c07966ad43adbe5529db3b /math/kcalc/Makefile
parent1bee8f44c60705f102471d2277b0c99dd759ea47 (diff)
downloadports-14a1da27f45c47f56c03f100467c4145b22cc27f.tar.gz
ports-14a1da27f45c47f56c03f100467c4145b22cc27f.zip
Notes
Diffstat (limited to 'math/kcalc/Makefile')
-rw-r--r--math/kcalc/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
index cd7620213037..c7ac1747145b 100644
--- a/math/kcalc/Makefile
+++ b/math/kcalc/Makefile
@@ -37,4 +37,13 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 501102
+RUN_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|>tar<|>gtar<|g' ${WRKSRC}/ark/ark.kcfg
+.endif
+
+.include <bsd.port.post.mk>