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