mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
a301112a1d
Submitter take MAINTAINER PR: ports/86407 Submitted by: Matthias Andree <matthias.andree@gmx.de> Approved by: pav (mentor)
32 lines
804 B
Makefile
32 lines
804 B
Makefile
# New ports collection makefile for: lzop
|
|
# Date created: Fri 2 June 2000
|
|
# Whom: will
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lzop
|
|
DISTVERSION= 1.02rc1
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= http://www.lzop.org/download/
|
|
|
|
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}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= lzop.1
|
|
PLIST_FILES= bin/lzop
|
|
|
|
.include <bsd.port.mk>
|