1998-12-02 00:11:12 +01:00
|
|
|
# New ports collection makefile for: lzo
|
|
|
|
# Date created: 21 Feb 1998
|
|
|
|
# Whom: giffunip@asme.org
|
|
|
|
#
|
1999-08-25 06:25:23 +02:00
|
|
|
# $FreeBSD$
|
1998-12-02 00:11:12 +01:00
|
|
|
#
|
|
|
|
|
2005-08-29 09:32:09 +02:00
|
|
|
PORTNAME= lzo2
|
2008-05-30 17:39:24 +02:00
|
|
|
PORTVERSION= 2.03
|
2008-08-29 02:38:26 +02:00
|
|
|
PORTREVISION= 2
|
1998-12-02 00:11:12 +01:00
|
|
|
CATEGORIES= archivers devel
|
2005-11-07 03:20:50 +01:00
|
|
|
MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/ \
|
|
|
|
http://fresh.t-systems-sfr.com/unix/src/misc/ \
|
|
|
|
http://ftp.uni-koeln.de/util/arc/
|
2005-05-31 21:41:12 +02:00
|
|
|
MASTER_SITE_SUBDIR= libs/compression
|
2005-08-29 09:32:09 +02:00
|
|
|
DISTNAME= lzo-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
1998-12-02 00:11:12 +01:00
|
|
|
|
2005-08-29 09:32:09 +02:00
|
|
|
MAINTAINER= matthias.andree@gmx.de
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Portable speedy, lossless data compression library
|
1998-12-02 00:11:12 +01:00
|
|
|
|
2007-02-01 03:42:05 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2008-05-30 17:39:24 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-11-26 15:37:42 +01:00
|
|
|
CONFIGURE_ARGS= --enable-shared
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
1999-11-21 01:53:55 +01:00
|
|
|
|
2008-05-30 17:39:24 +02:00
|
|
|
post-build:
|
2008-06-20 20:38:52 +02:00
|
|
|
@${ECHO_MSG} "===> Running self-tests for ${PKGNAME} (can take a few minutes, without output)"
|
2008-08-29 15:20:11 +02:00
|
|
|
cd ${WRKSRC} && ${MAKE} test SHELL="${SH} -x"
|
2008-05-30 17:39:24 +02:00
|
|
|
|
1998-12-02 00:11:12 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2005-06-29 21:31:48 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2008-06-20 20:38:52 +02:00
|
|
|
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}/
|
1998-12-02 00:11:12 +01:00
|
|
|
.endif
|
|
|
|
|
2008-08-29 02:38:26 +02:00
|
|
|
.include <bsd.port.mk>
|