aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Image-Imlib2
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2005-02-09 13:50:50 +0000
committerMathieu Arnold <mat@FreeBSD.org>2005-02-09 13:50:50 +0000
commit2eb602f2fb2bf00bccc7cf24a0e9af36c19ffeeb (patch)
tree9090140825a78fc17f22cbf2c0c98eaa536b47fd /graphics/p5-Image-Imlib2
parent75d9f01ba0c75cba5b5925933313eccaf2c189a5 (diff)
downloadports-2eb602f2fb2bf00bccc7cf24a0e9af36c19ffeeb.tar.gz
ports-2eb602f2fb2bf00bccc7cf24a0e9af36c19ffeeb.zip
Notes
Diffstat (limited to 'graphics/p5-Image-Imlib2')
-rw-r--r--graphics/p5-Image-Imlib2/Makefile15
-rw-r--r--graphics/p5-Image-Imlib2/distinfo4
-rw-r--r--graphics/p5-Image-Imlib2/pkg-plist6
3 files changed, 21 insertions, 4 deletions
diff --git a/graphics/p5-Image-Imlib2/Makefile b/graphics/p5-Image-Imlib2/Makefile
index ff0530a52970..04a8a33f48d8 100644
--- a/graphics/p5-Image-Imlib2/Makefile
+++ b/graphics/p5-Image-Imlib2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Image-Imlib2
-PORTVERSION= 1.03
+PORTVERSION= 1.04
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Image
@@ -21,4 +21,17 @@ PERL_MODBUILD= yes
MAN3= Image::Imlib2.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= CHANGES
+EXAMPLES= examples/benchmark.pl examples/benchmark.txt examples/maeda.pl
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
+ @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
+.endif
+
.include <bsd.port.mk>
diff --git a/graphics/p5-Image-Imlib2/distinfo b/graphics/p5-Image-Imlib2/distinfo
index f1c5c1e5014d..a35191b849f2 100644
--- a/graphics/p5-Image-Imlib2/distinfo
+++ b/graphics/p5-Image-Imlib2/distinfo
@@ -1,2 +1,2 @@
-MD5 (Image-Imlib2-1.03.tar.gz) = 4f6c32720bfd5eac3d3b41bd47cd6e28
-SIZE (Image-Imlib2-1.03.tar.gz) = 16420
+MD5 (Image-Imlib2-1.04.tar.gz) = 0312e35ba7a49eef30c2c181a663c3af
+SIZE (Image-Imlib2-1.04.tar.gz) = 16736
diff --git a/graphics/p5-Image-Imlib2/pkg-plist b/graphics/p5-Image-Imlib2/pkg-plist
index ab493b5b1817..a3cd043d0203 100644
--- a/graphics/p5-Image-Imlib2/pkg-plist
+++ b/graphics/p5-Image-Imlib2/pkg-plist
@@ -1,6 +1,10 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Image/Imlib2.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Imlib2/Imlib2.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Imlib2/Imlib2.so
-%%SITE_PERL%%/%%PERL_ARCH%%/Image/Imlib2.pm
+%%PORTDOCS%%%%EXAMPLESDIR%%/benchmark.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/benchmark.txt
+%%PORTDOCS%%%%EXAMPLESDIR%%/maeda.pl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Imlib2
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Image 2>/dev/null || true