aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2016-10-02 03:56:37 +0800
committeradamw <adamw@FreeBSD.org>2016-10-02 03:56:37 +0800
commit2606053311917e8f20fcfeefd159b1d8d1fc703b (patch)
tree6d5657cd8fdefdafe84d4553ccd48b65bc37f23b /archivers
parent37cc678e7b2d75952780993cc199d6819120e664 (diff)
downloadfreebsd-ports-gnome-2606053311917e8f20fcfeefd159b1d8d1fc703b.tar.gz
freebsd-ports-gnome-2606053311917e8f20fcfeefd159b1d8d1fc703b.tar.zst
freebsd-ports-gnome-2606053311917e8f20fcfeefd159b1d8d1fc703b.zip
Update to 1.09.
Changes: https://metacpan.org/changes/distribution/Compress-LZO
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p5-Compress-LZO/Makefile12
-rw-r--r--archivers/p5-Compress-LZO/distinfo5
-rw-r--r--archivers/p5-Compress-LZO/files/patch-Makefile.PL20
3 files changed, 9 insertions, 28 deletions
diff --git a/archivers/p5-Compress-LZO/Makefile b/archivers/p5-Compress-LZO/Makefile
index 643d0650c473..17ec598c98b0 100644
--- a/archivers/p5-Compress-LZO/Makefile
+++ b/archivers/p5-Compress-LZO/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Compress-LZO
-PORTVERSION= 1.08
-PORTREVISION= 4
+PORTVERSION= 1.09
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -11,15 +10,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Interface to the LZO compression library
+LICENSE= GPLv2
+
+BUILD_DEPENDS= p5-Devel-CheckLib>=0.9:devel/p5-Devel-CheckLib
LIB_DEPENDS= liblzo2.so:archivers/lzo2
-CFLAGS+= -I${LOCALBASE}/include/lzo
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
USES= perl5
USE_PERL5= configure
-post-patch:
- @${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/LZO/LZO.so
diff --git a/archivers/p5-Compress-LZO/distinfo b/archivers/p5-Compress-LZO/distinfo
index 52f0b1802c9e..e00736f6b39e 100644
--- a/archivers/p5-Compress-LZO/distinfo
+++ b/archivers/p5-Compress-LZO/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Compress-LZO-1.08.tar.gz) = cabf52349c12e7044189758093a8f7a56bae85850c1e772d977a7695070f4c06
-SIZE (Compress-LZO-1.08.tar.gz) = 12480
+TIMESTAMP = 1475351410
+SHA256 (Compress-LZO-1.09.tar.gz) = 15dbcb5ae4be2da09545b891c66077da5b45e4842f2b99919d29973ff6be4f47
+SIZE (Compress-LZO-1.09.tar.gz) = 22825
diff --git a/archivers/p5-Compress-LZO/files/patch-Makefile.PL b/archivers/p5-Compress-LZO/files/patch-Makefile.PL
deleted file mode 100644
index e96c66e5cf58..000000000000
--- a/archivers/p5-Compress-LZO/files/patch-Makefile.PL
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.PL.orig 1998-08-23 10:14:41 UTC
-+++ Makefile.PL
-@@ -14,6 +14,8 @@ use Config;
- # installed.
-
- #$LZO_LIB = '-L/usr/local/lib';
-+$LZO_INCLUDE = '-I%%LOCALBASE%%/include';
-+$LZO_LIB = '-L%%LOCALBASE%%/lib';
-
-
- # It shouldn't be necessary to change anything from here on.
-@@ -21,7 +23,7 @@ use Config;
- WriteMakefile(
- NAME => 'Compress::LZO',
- VERSION_FROM => 'LZO.pm',
-- LIBS => [ "$LZO_LIB -llzo" ],
-+ LIBS => [ "$LZO_LIB -llzo2" ],
- INC => "$LZO_INCLUDE",
- 'dist' => {COMPRESS=>'gzip', SUFFIX=>'gz'},
- );