aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/lzop/Makefile
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-09-21 22:14:46 +0800
committermnag <mnag@FreeBSD.org>2005-09-21 22:14:46 +0800
commitd499350a28be052ba4d63cd41f1fa2e29603cf59 (patch)
treedca5bf1945007db6176da99b2e23999378b8df00 /archivers/lzop/Makefile
parent6c95d69cfa36d02e302804687e926eb3ce662e1e (diff)
downloadfreebsd-ports-gnome-d499350a28be052ba4d63cd41f1fa2e29603cf59.tar.gz
freebsd-ports-gnome-d499350a28be052ba4d63cd41f1fa2e29603cf59.tar.zst
freebsd-ports-gnome-d499350a28be052ba4d63cd41f1fa2e29603cf59.zip
Update to 1.02rc1
Submitter take MAINTAINER PR: ports/86407 Submitted by: Matthias Andree <matthias.andree@gmx.de> Approved by: pav (mentor)
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}