summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-PgSPI/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-12-07 11:35:30 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-12-07 11:35:30 +0000
commit7736adccce693bc1be312865a658c5801744df85 (patch)
treee4a787ba9d309f4b9f3bf3eb5e192e103f4f5c35 /databases/p5-DBD-PgSPI/Makefile
parentFix build without imake. (diff)
Update to 0.02
Add some docs
Notes
Notes: svn path=/head/; revision=123389
Diffstat (limited to 'databases/p5-DBD-PgSPI/Makefile')
-rw-r--r--databases/p5-DBD-PgSPI/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/databases/p5-DBD-PgSPI/Makefile b/databases/p5-DBD-PgSPI/Makefile
index 47094cab02da..b63138c984da 100644
--- a/databases/p5-DBD-PgSPI/Makefile
+++ b/databases/p5-DBD-PgSPI/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= DBD-PgSPI
-PORTVERSION= 0.01
-PORTREVISION= 1
+PORTVERSION= 0.02
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
@@ -26,6 +25,19 @@ PERL_CONFIGURE= yes
MAN3= DBD::PgSPI.3
+post-patch:
+ @${PERL} -i -pe '$$_ = "" if /ppport.h/' \
+ ${WRKSRC}/PgSPI.h
+
+.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.pre.mk>
.if ${PERL_LEVEL} < 500600