openbsd-ports/archivers/lzo/Makefile
brad 6105968cc3 - use "cc -shared" on 2.8 and up to create shared libraries.
- add a test target as well as adding a patch to fix the lzo's test target
when using SEPARATE_BUILD.
2000-11-11 22:33:39 +00:00

36 lines
866 B
Makefile

# $OpenBSD: Makefile,v 1.18 2000/11/11 22:33:39 brad Exp $
DISTNAME= lzo-1.06
CATEGORIES= archivers devel
NEED_VERSION= 1.336
MASTER_SITES= ftp://ftp.rhrz.uni-bonn.de/pub-koeln/util/arc/ \
ftp://ftp.fu-berlin.de/pub/unix/tools/archivers/lzo/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= libs/compression
HOMEPAGE= http://wildsau.idv.uni-linz.ac.at/mfx/lzo.html
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
test: build
@cd ${WRKBUILD} && ${MAKE} test
post-patch:
@chmod +x ${WRKSRC}/acconfig/*
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lzo
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/lzo
.include <bsd.port.mk>