mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
e2d213985f
Changes in 2.06 (12 Aug 2011) * Some minor optimizations for big-endian architectures. * Fixed overly strict malloc() misalignment check in examples.
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# New ports collection makefile for: lzo
|
|
# Date created: 21 Feb 1998
|
|
# Whom: giffunip@asme.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lzo2
|
|
PORTVERSION= 2.06
|
|
CATEGORIES= archivers devel
|
|
MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/ \
|
|
LOCAL/mandree
|
|
DISTNAME= lzo-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
|
|
|
MAINTAINER= mandree@FreeBSD.org
|
|
COMMENT= Portable speedy, lossless data compression library
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-shared --docdir=${DOCSDIR}
|
|
USE_LDCONFIG= yes
|
|
|
|
.if defined(NOPORTDOCS)
|
|
INSTALL_TARGET= install-exec install-pkgincludeHEADERS
|
|
.endif
|
|
|
|
post-build:
|
|
.if !defined(WITHOUT_CHECKS)
|
|
@${ECHO_MSG} "===> Running self-tests for ${PKGNAME} (can take a few minutes)"
|
|
@#: override MALLOC_OPTIONS, else tests take excessively long
|
|
cd ${WRKSRC} && ${SETENV} MALLOC_OPTIONS=jz ${MAKE} check test SHELL="${SH} -x"
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README
|
|
.for i in AUTHORS BUGS COPYING NEWS README THANKS
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|