aboutsummaryrefslogtreecommitdiff
path: root/archivers/lzop/Makefile
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-21 14:14:46 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-21 14:14:46 +0000
commita301112a1d311a4d46273903527642bed31ddeb0 (patch)
tree59c0b7f67f914e3194a3bc3c548ba34f0fea5920 /archivers/lzop/Makefile
parent0aa7f09f05d904918e076b09bbeac559368f6ae6 (diff)
downloadports-a301112a1d311a4d46273903527642bed31ddeb0.tar.gz
ports-a301112a1d311a4d46273903527642bed31ddeb0.zip
Notes
Diffstat (limited to 'archivers/lzop/Makefile')
-rw-r--r--archivers/lzop/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/archivers/lzop/Makefile b/archivers/lzop/Makefile
index ec42a9719d7b..54d3cec852d7 100644
--- a/archivers/lzop/Makefile
+++ b/archivers/lzop/Makefile
@@ -6,15 +6,19 @@
#
PORTNAME= lzop
-PORTVERSION= 1.01
-PORTREVISION= 2
+DISTVERSION= 1.02rc1
CATEGORIES= archivers
MASTER_SITES= http://www.lzop.org/download/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= matthias.andree@gmx.de
COMMENT= Fast file compressor similar to gzip, using the LZO library
+# prefer lzo2 if it is already installed or if no lzo is installed.
+.if exists(${LOCALBASE}/lib/liblzo2.so.2) || !exists(${LOCALBASE}/lib/liblzo.so.1)
+LIB_DEPENDS= lzo2.2:${PORTSDIR}/archivers/lzo2
+.else
LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
+.endif
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}