47 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.26 2001/10/24 20:45:43 brad Exp $
COMMENT= "portable speedy lossless data compression library"
2000-11-17 21:33:43 +00:00
DISTNAME= lzo-1.07
CATEGORIES= archivers devel
2001-10-05 00:44:10 +00:00
NEED_VERSION= 1.460
2000-11-17 21:33:43 +00:00
MASTER_SITES= http://wildsau.idv.uni-linz.ac.at/mfx/download/lzo/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= libs/compression
HOMEPAGE= http://wildsau.idv.uni-linz.ac.at/mfx/lzo.html
2000-09-24 07:03:59 +00:00
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 08:02:07 +00:00
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
2001-10-05 00:44:10 +00:00
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:
2001-10-05 00:44:10 +00:00
@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
1999-12-28 06:13:04 +00:00
@chmod +x ${WRKSRC}/acconfig/*
post-install:
2000-03-09 09:52:55 +00:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lzo
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/lzo
.include <bsd.port.mk>