diff options
author | Lars Thegler <lth@FreeBSD.org> | 2005-09-27 19:30:07 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2005-09-27 19:30:07 +0000 |
commit | f2d32dba624603ad126117bbd24e4d027059eb0f (patch) | |
tree | 5a532032f8266ce289aed4c1006bdf116decf8b7 /textproc/p5-Text-ASCIITable | |
parent | 42d5dbcff31e75d05010c01d08517dfa275c1055 (diff) | |
download | ports-f2d32dba624603ad126117bbd24e4d027059eb0f.tar.gz ports-f2d32dba624603ad126117bbd24e4d027059eb0f.zip |
Notes
Diffstat (limited to 'textproc/p5-Text-ASCIITable')
-rw-r--r-- | textproc/p5-Text-ASCIITable/Makefile | 14 | ||||
-rw-r--r-- | textproc/p5-Text-ASCIITable/distinfo | 4 | ||||
-rw-r--r-- | textproc/p5-Text-ASCIITable/pkg-plist | 2 |
3 files changed, 17 insertions, 3 deletions
diff --git a/textproc/p5-Text-ASCIITable/Makefile b/textproc/p5-Text-ASCIITable/Makefile index 65f6736ffce6..bfaa3b08f88b 100644 --- a/textproc/p5-Text-ASCIITable/Makefile +++ b/textproc/p5-Text-ASCIITable/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Text-ASCIITable -PORTVERSION= 0.16 +PORTVERSION= 0.17 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Text @@ -20,4 +20,16 @@ PERL_CONFIGURE= yes MAN3= Text::ASCIITable.3 \ Text::ASCIITable::Wrap.3 +post-extract: + @${MKDIR} ${WRKSRC}/example + @${MV} ${WRKSRC}/ansi-example.pl ${WRKSRC}/example + @${PERL} -pi -e '$$_="" if m|ansi-example.pl|' ${WRKSRC}/MANIFEST + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_SCRIPT} ${WRKSRC}/example/ansi-example.pl ${EXAMPLESDIR} + @${ECHO_MSG} "===> Example installed in ${EXAMPLESDIR}." +.endif + .include <bsd.port.mk> diff --git a/textproc/p5-Text-ASCIITable/distinfo b/textproc/p5-Text-ASCIITable/distinfo index b53c95f9b3d3..cd5ab83efb01 100644 --- a/textproc/p5-Text-ASCIITable/distinfo +++ b/textproc/p5-Text-ASCIITable/distinfo @@ -1,2 +1,2 @@ -MD5 (Text-ASCIITable-0.16.tar.gz) = d56448fe48216d25475a723ab8bf22c0 -SIZE (Text-ASCIITable-0.16.tar.gz) = 18246 +MD5 (Text-ASCIITable-0.17.tar.gz) = 4fb516df15271f68d0a47e4afadf83be +SIZE (Text-ASCIITable-0.17.tar.gz) = 20647 diff --git a/textproc/p5-Text-ASCIITable/pkg-plist b/textproc/p5-Text-ASCIITable/pkg-plist index 8dc79042837e..1e5e864adab4 100644 --- a/textproc/p5-Text-ASCIITable/pkg-plist +++ b/textproc/p5-Text-ASCIITable/pkg-plist @@ -5,3 +5,5 @@ @unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true @dirrm %%SITE_PERL%%/Text/ASCIITable @unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true +%%PORTDOCS%%%%EXAMPLESDIR%%/ansi-example.pl +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |