freebsd-ports/archivers/lzop/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

31 lines
731 B
Makefile

# New ports collection makefile for: lzop
# Date created: Fri 2 June 2000
# Whom: will
#
# $FreeBSD$
#
PORTNAME= lzop
DISTVERSION= 1.03
CATEGORIES= archivers
MASTER_SITES= http://www.lzop.org/download/ \
LOCAL/mandree
MAINTAINER= mandree@FreeBSD.org
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
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= lzop.1
PLIST_FILES= bin/lzop
.include <bsd.port.mk>