45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.28 2002/05/12 21:30:07 brad Exp $
|
|
|
|
COMMENT= "portable speedy lossless data compression library"
|
|
|
|
DISTNAME= lzo-1.07
|
|
CATEGORIES= archivers devel
|
|
NEED_VERSION= 1.525
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
|
|
|
HOMEPAGE= http://www.oberhumer.com/opensource/lzo/
|
|
|
|
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
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/acconfig
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
# Internal Compiler Error
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
PATCH_LIST= patch-* sup-sparc64
|
|
.endif
|
|
|
|
REGRESS_TARGET= test
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC}/acconfig; \
|
|
${PATCH} --forward --quiet -E < \
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig && \
|
|
${PATCH} --forward --quiet -E < \
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh
|
|
@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>
|