diff options
author | miwi <miwi@FreeBSD.org> | 2010-08-15 16:46:24 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-08-15 16:46:24 +0800 |
commit | e43d466caa740440ca15eb8f66fe92b6ee4f63f6 (patch) | |
tree | c08be6e975a6a4a1b9784b1528bf50cc0688c717 /archivers | |
parent | 34141377436baaba9612b52d44bdb1fa7bb88c3d (diff) | |
download | freebsd-ports-gnome-e43d466caa740440ca15eb8f66fe92b6ee4f63f6.tar.gz freebsd-ports-gnome-e43d466caa740440ca15eb8f66fe92b6ee4f63f6.tar.zst freebsd-ports-gnome-e43d466caa740440ca15eb8f66fe92b6ee4f63f6.zip |
Compress::Raw::Lzma is a low-Level interface to lzma compression library.
WWW: http://search.cpan.org/dist/Compress-Raw-Lzma/
PR: ports/148980
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/p5-Compress-Raw-Lzma/Makefile | 38 | ||||
-rw-r--r-- | archivers/p5-Compress-Raw-Lzma/distinfo | 3 | ||||
-rw-r--r-- | archivers/p5-Compress-Raw-Lzma/pkg-descr | 3 | ||||
-rw-r--r-- | archivers/p5-Compress-Raw-Lzma/pkg-plist | 11 |
5 files changed, 56 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 89bcc141555d..beeb3bb84eda 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -99,6 +99,7 @@ SUBDIR += p5-Compress-LZO SUBDIR += p5-Compress-LZW SUBDIR += p5-Compress-Raw-Bzip2 + SUBDIR += p5-Compress-Raw-Lzma SUBDIR += p5-Compress-Raw-Zlib SUBDIR += p5-Compress-Zlib SUBDIR += p5-IO-Compress-Base diff --git a/archivers/p5-Compress-Raw-Lzma/Makefile b/archivers/p5-Compress-Raw-Lzma/Makefile new file mode 100644 index 000000000000..a41ce67fb626 --- /dev/null +++ b/archivers/p5-Compress-Raw-Lzma/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: p5-Compress-Raw-Lzma +# Date created: 2010-07-26 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> +# +# $FreeBSD$ +# + +PORTNAME= Compress-Raw-Lzma +PORTVERSION= 2.030 +CATEGORIES= archivers perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@sunpoet.net +COMMENT= Low-Level Interface to lzma compression library + +PERL_CONFIGURE= yes + +MAN3= Compress::Raw::Lzma.3 + +.include <bsd.port.pre.mk> + +.if (${OSVERSION} > 900012) || ((${OSVERSION} > 800505) && (${OSVERSION} < 900000)) +LZMA_DEPEND?= sys +.else +LZMA_DEPEND?= xz +.endif + +.if (${LZMA_DEPEND} == "xz") || (${LZMA_DEPEND} == "lzmalib") +LIB_DEPENDS= lzma:${PORTSDIR}/archivers/${LZMA_DEPEND} +.endif + +pre-build: +.if ${LZMA_DEPEND} == "sys" + ${REINPLACE_CMD} -e "/^LDDLFLAGS/ s|${LOCALBASE}/lib|/usr/lib|" ${WRKSRC}/Makefile +.endif + +.include <bsd.port.post.mk> diff --git a/archivers/p5-Compress-Raw-Lzma/distinfo b/archivers/p5-Compress-Raw-Lzma/distinfo new file mode 100644 index 000000000000..92d0e38223ea --- /dev/null +++ b/archivers/p5-Compress-Raw-Lzma/distinfo @@ -0,0 +1,3 @@ +MD5 (Compress-Raw-Lzma-2.030.tar.gz) = 9d9820c602f4e7a87e8145ebf6aed0ac +SHA256 (Compress-Raw-Lzma-2.030.tar.gz) = cf3452ef6793de1b2604da42f8609743377fc84fee7460630251c07c3d014765 +SIZE (Compress-Raw-Lzma-2.030.tar.gz) = 99203 diff --git a/archivers/p5-Compress-Raw-Lzma/pkg-descr b/archivers/p5-Compress-Raw-Lzma/pkg-descr new file mode 100644 index 000000000000..b571a22a98ca --- /dev/null +++ b/archivers/p5-Compress-Raw-Lzma/pkg-descr @@ -0,0 +1,3 @@ +Compress::Raw::Lzma is a low-Level interface to lzma compression library. + +WWW: http://search.cpan.org/dist/Compress-Raw-Lzma/ diff --git a/archivers/p5-Compress-Raw-Lzma/pkg-plist b/archivers/p5-Compress-Raw-Lzma/pkg-plist new file mode 100644 index 000000000000..d61bf56dbb78 --- /dev/null +++ b/archivers/p5-Compress-Raw-Lzma/pkg-plist @@ -0,0 +1,11 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/Compress/Raw/Lzma.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/Raw/Lzma/Lzma.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/Raw/Lzma/Lzma.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/Raw/Lzma/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/Raw/Lzma/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/Raw/Lzma +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/Raw/ +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Compress/ +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Compress/Raw/ +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Compress/ |