diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2005-02-27 18:31:48 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2005-02-27 18:31:48 +0000 |
commit | 30612612af0beecd3ef3bce84cdb0c0e6f058728 (patch) | |
tree | d3172d4cd386e0f06d6951f4ea9f3545febe150f /archivers/liblzxcomp | |
parent | 552b40c553a6ba96f547d70f613e8521fb65f6be (diff) | |
download | ports-30612612af0beecd3ef3bce84cdb0c0e6f058728.tar.gz ports-30612612af0beecd3ef3bce84cdb0c0e6f058728.zip |
Notes
Diffstat (limited to 'archivers/liblzxcomp')
-rw-r--r-- | archivers/liblzxcomp/Makefile | 41 | ||||
-rw-r--r-- | archivers/liblzxcomp/distinfo | 2 | ||||
-rw-r--r-- | archivers/liblzxcomp/files/Makefile | 18 | ||||
-rw-r--r-- | archivers/liblzxcomp/files/patch-lz_nonslide.c | 10 | ||||
-rw-r--r-- | archivers/liblzxcomp/pkg-descr | 5 | ||||
-rw-r--r-- | archivers/liblzxcomp/pkg-plist | 5 |
6 files changed, 81 insertions, 0 deletions
diff --git a/archivers/liblzxcomp/Makefile b/archivers/liblzxcomp/Makefile new file mode 100644 index 000000000000..2cae2f7675e2 --- /dev/null +++ b/archivers/liblzxcomp/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: liblzxcomp +# Date created: 27 Feb 2005 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= liblzxcomp +PORTVERSION= 20020618 +CATEGORIES= archivers +MASTER_SITES= http://www.speakeasy.org/~russotto/chm/ +DISTNAME= lzx_compress + +MAINTAINER= skv@FreeBSD.org +COMMENT= LZX compression library + +MAKE_ENV= PREFIX=${PREFIX} +USE_REINPLACE= yes + +INSTALLS_SHLIB= YES +SHLIB_MAJOR= 1 +PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" + +MAN3= lzxcomp.3 +MANCOMPRESSED= yes + +.if defined(NOPROFILE) +PLIST_SUB+= PROFILE="@comment " +.else +PLIST_SUB+= PROFILE="" +.endif + +post-patch: + ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev + @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ + ${FILESDIR}/Makefile > ${WRKSRC}/Makefile + ${REINPLACE_CMD} -i '' -e 's|stdint|sys/types|' \ + ${WRKSRC}/lzx_compress.mdoc3 ${WRKSRC}/lzx_layer.c + ${MV} ${WRKSRC}/lzx_compress.mdoc3 ${WRKSRC}/lzxcomp.3 + +.include <bsd.port.mk> diff --git a/archivers/liblzxcomp/distinfo b/archivers/liblzxcomp/distinfo new file mode 100644 index 000000000000..aa8f5bd8740f --- /dev/null +++ b/archivers/liblzxcomp/distinfo @@ -0,0 +1,2 @@ +MD5 (lzx_compress.tar.gz) = bc0c2bb66f36b3753645c6a0a8e5ad75 +SIZE (lzx_compress.tar.gz) = 30202 diff --git a/archivers/liblzxcomp/files/Makefile b/archivers/liblzxcomp/files/Makefile new file mode 100644 index 000000000000..b6e7b66246a7 --- /dev/null +++ b/archivers/liblzxcomp/files/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +LIB = lzxcomp +SRCS= lz_nonslide.c lzx_layer.c +INCS= lzx_compress.h + +COPTS= -DLZ_ONEBUFFER -DLAZY -DNONSLIDE +LDADD= -lm + +SHLIB_MAJOR= %%SHLIB_MAJOR%% + +LIBDIR= ${PREFIX}/lib +INCLUDEDIR= ${PREFIX}/include + +MAN3= lzxcomp.3 +MANDIR= ${PREFIX}/man/man + +.include <bsd.lib.mk> diff --git a/archivers/liblzxcomp/files/patch-lz_nonslide.c b/archivers/liblzxcomp/files/patch-lz_nonslide.c new file mode 100644 index 000000000000..56c1409b3d01 --- /dev/null +++ b/archivers/liblzxcomp/files/patch-lz_nonslide.c @@ -0,0 +1,10 @@ +--- lz_nonslide.c.orig Sun Feb 27 21:08:11 2005 ++++ lz_nonslide.c Sun Feb 27 21:08:47 2005 +@@ -19,6 +19,7 @@ + /* + * Document here + */ ++#include <sys/types.h> + #include <stdio.h> + #include <stdlib.h> + #include <assert.h> diff --git a/archivers/liblzxcomp/pkg-descr b/archivers/liblzxcomp/pkg-descr new file mode 100644 index 000000000000..8f9b3c7d1977 --- /dev/null +++ b/archivers/liblzxcomp/pkg-descr @@ -0,0 +1,5 @@ +LZX compression engine, suitable for creating compressed CHM files. Or +for use in a CAB-making utility or for any other purpose LZX is useful +for. + +WWW: http://www.speakeasy.org/~russotto/chm/ diff --git a/archivers/liblzxcomp/pkg-plist b/archivers/liblzxcomp/pkg-plist new file mode 100644 index 000000000000..bcae5dc2dce6 --- /dev/null +++ b/archivers/liblzxcomp/pkg-plist @@ -0,0 +1,5 @@ +include/lzx_compress.h +lib/liblzxcomp.a +lib/liblzxcomp.so +lib/liblzxcomp.so.%%SHLIB_MAJOR%% +%%PROFILE%%lib/liblzxcomp_p.a |