aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/freemind/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-01-21 01:18:49 +0800
committerpav <pav@FreeBSD.org>2010-01-21 01:18:49 +0800
commita2cb77073d4929d1de40d6028c90b2d0110e5fe3 (patch)
tree3a220794193f3f2bd3e26944e95be6651e095a45 /deskutils/freemind/Makefile
parent3e3f98794cfab3d986429b12c85581b50c02926c (diff)
downloadfreebsd-ports-gnome-a2cb77073d4929d1de40d6028c90b2d0110e5fe3.tar.gz
freebsd-ports-gnome-a2cb77073d4929d1de40d6028c90b2d0110e5fe3.tar.zst
freebsd-ports-gnome-a2cb77073d4929d1de40d6028c90b2d0110e5fe3.zip
- Unconditionally depend on zip and unzip. (If a check for zip and unzip in
base is desired, it must be performed on OSVERSION basis. Also, UNZIP_CMD is unconditionally defined as LOCALBASE/bin/unzip, so the port as-is would break anyway.) Reported by: pointyhat
Diffstat (limited to 'deskutils/freemind/Makefile')
-rw-r--r--deskutils/freemind/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/deskutils/freemind/Makefile b/deskutils/freemind/Makefile
index 353feffcf953..14231d671536 100644
--- a/deskutils/freemind/Makefile
+++ b/deskutils/freemind/Makefile
@@ -16,15 +16,10 @@ DISTNAME= ${PORTNAME}-bin-max-${PORTVERSION:S/./_/g}
MAINTAINER= wenheping@gmail.com
COMMENT= Free mind-mapping software written in Java
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
+ zip:${PORTSDIR}/archivers/zip
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
-.if !exists(/usr/bin/unzip)
-BUILD_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
-.endif
-.if !exists(/usr/bin/zip)
-BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
-.endif
-
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+