aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-sqlrelay
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2005-02-16 09:29:15 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2005-02-16 09:29:15 +0000
commit37878647cc1d89ee25c7281f7f761793ec25c3f9 (patch)
tree01b9bd12f3d22ee17ff71d349e398307e4b4a079 /databases/p5-sqlrelay
parentaa69634c81c57762f678fe8d55a60cb98823b242 (diff)
downloadports-37878647cc1d89ee25c7281f7f761793ec25c3f9.tar.gz
ports-37878647cc1d89ee25c7281f7f761793ec25c3f9.zip
Notes
Diffstat (limited to 'databases/p5-sqlrelay')
-rw-r--r--databases/p5-sqlrelay/Makefile10
-rw-r--r--databases/p5-sqlrelay/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/databases/p5-sqlrelay/Makefile b/databases/p5-sqlrelay/Makefile
index d1e83df90cdc..0800131d4a5a 100644
--- a/databases/p5-sqlrelay/Makefile
+++ b/databases/p5-sqlrelay/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ${SQLRELAY_PORTNAME}
PORTVERSION= ${SQLRELAY_PORTVERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= # none
PKGNAMEPREFIX= p5-
@@ -23,12 +23,16 @@ USE_PERL5= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
--with-perl-prefix="/usr"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
${SQLRELAY_CONFIGURE_ENV}
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= DBD::SQLRelay.3 SQLRelay::Connection.3 SQLRelay::Cursor.3
+
.include "${.CURDIR}/../sqlrelay/Makefile.common"
do-extract:
@@ -36,6 +40,10 @@ do-extract:
${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC}
${RM} -rf ${WRKSRC}/src/api/perl/CVS
+post-patch:
+ ${REINPLACE_CMD} -e 's/installman3dir/siteman3dir/g' \
+ ${WRKSRC}/src/api/perl/*/Makefile
+
do-build:
for dir in ${WRKSRC}/src/api/perl/*; do \
cd $$dir && \
diff --git a/databases/p5-sqlrelay/pkg-plist b/databases/p5-sqlrelay/pkg-plist
index 3532f8641bac..b5ea2df64997 100644
--- a/databases/p5-sqlrelay/pkg-plist
+++ b/databases/p5-sqlrelay/pkg-plist
@@ -14,3 +14,4 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Cursor/Cursor.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay/Cursor
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQLRelay
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/SQLRelay