aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Pg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-DBD-Pg/Makefile')
-rw-r--r--databases/p5-DBD-Pg/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/databases/p5-DBD-Pg/Makefile b/databases/p5-DBD-Pg/Makefile
index 4ce03272ceba..e3e638b53e14 100644
--- a/databases/p5-DBD-Pg/Makefile
+++ b/databases/p5-DBD-Pg/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= DBD-Pg
-PORTVERSION= 1.40
-PORTREVISION= 1
+PORTVERSION= 1.41
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
@@ -25,6 +24,15 @@ PERL_CONFIGURE= yes
MAN3= DBD::Pg.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= Changes README TODO
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600