aboutsummaryrefslogtreecommitdiff
path: root/www/p5-PHP-Session/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-PHP-Session/Makefile')
-rw-r--r--www/p5-PHP-Session/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/www/p5-PHP-Session/Makefile b/www/p5-PHP-Session/Makefile
index 44e4c6361073..638339cdb0e4 100644
--- a/www/p5-PHP-Session/Makefile
+++ b/www/p5-PHP-Session/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= PHP-Session
-PORTVERSION= 0.22
+PORTVERSION= 0.23
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= PHP
@@ -23,4 +23,13 @@ PERL_CONFIGURE= yes
MAN3= PHP::Session.3 PHP::Session::Serializer::PHP.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= Changes README
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.mk>