1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Fix PLIST.

PR:		77548
Submitted by:	Yen-Ming Lee <leeym@FreeBSD.org>
This commit is contained in:
Dmitry Sivachenko 2005-02-16 09:29:15 +00:00
parent aa69634c81
commit 37878647cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129012
2 changed files with 10 additions and 1 deletions

View File

@ -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 && \

View File

@ -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