forked from Lainports/freebsd-ports
Update to 1.04
Add some doc & examples.
This commit is contained in:
parent
75d9f01ba0
commit
2eb602f2fb
3 changed files with 21 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue