Date: Sat, 12 Aug 2006 16:53:40 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org, rafan@FreeBSD.org Subject: ports/101886: [PATCH] devel/p5-SVN-Web: Respect DESTDIR Message-ID: <20060812085340.8FCAF372@netnews.NCTU.edu.tw> Resent-Message-ID: <200608120900.k7C90MJT090218@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101886 >Category: ports >Synopsis: [PATCH] devel/p5-SVN-Web: Respect DESTDIR >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 12 09:00:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006 >Description: - Respect DESTDIR - Fix unnecessary dependencies (because of PERL_MODBUILD + RUN=BUILD) Port maintainer (rafan@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-SVN-Web-0.47.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/p5-SVN-Web/Makefile /home/staff/gslin/work/ports/p5-SVN-Web/Makefile --- /usr/ports/devel/p5-SVN-Web/Makefile Tue Jun 27 11:58:56 2006 +++ /home/staff/gslin/work/ports/p5-SVN-Web/Makefile Sat Aug 12 16:52:19 2006 @@ -15,23 +15,22 @@ MAINTAINER= rafan@FreeBSD.org COMMENT= Subversion repository web frontend -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \ - ${SITE_PERL}/${PERL_ARCH}/SVN/Core.pm:${PORTSDIR}/devel/subversion-perl \ +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/SVN/Core.pm:${PORTSDIR}/devel/subversion-perl \ + ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \ + ${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ ${SITE_PERL}/Text/Diff.pm:${PORTSDIR}/textproc/p5-Text-Diff \ ${SITE_PERL}/XML/RSS.pm:${PORTSDIR}/textproc/p5-XML-RSS \ - ${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML \ p5-Cache-Cache>=0:${PORTSDIR}/devel/p5-Cache-Cache \ p5-Exception-Class>=1.22:${PORTSDIR}/devel/p5-Exception-Class \ - p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils \ - p5-Locale-Maketext-Lexicon>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \ - p5-Template-Plugin-Number-Format>=0:${PORTSDIR}/www/p5-Template-Plugin-Number-Format \ - p5-Text-Diff-HTML>=0:${PORTSDIR}/textproc/p5-Text-Diff-HTML \ p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \ - p5-Template-Plugin-Clickable>=0:${PORTSDIR}/www/p5-Template-Plugin-Clickable \ + p5-Locale-Maketext-Lexicon>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \ p5-Template-Plugin-Clickable-Email>=0:${PORTSDIR}/www/p5-Template-Plugin-Clickable-Email \ - p5-Template-Plugin-Subst>=0:${PORTSDIR}/www/p5-Template-Plugin-Subst -RUN_DEPENDS= ${BUILD_DEPENDS} + p5-Template-Plugin-Clickable>=0:${PORTSDIR}/www/p5-Template-Plugin-Clickable \ + p5-Template-Plugin-Number-Format>=0:${PORTSDIR}/www/p5-Template-Plugin-Number-Format \ + p5-Template-Plugin-Subst>=0:${PORTSDIR}/www/p5-Template-Plugin-Subst \ + p5-Text-Diff-HTML>=0:${PORTSDIR}/textproc/p5-Text-Diff-HTML +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_MODBUILD= yes @@ -50,13 +49,18 @@ SVN::Web::action.3 post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/svnweb-install ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/svnweb-install ${TARGETDIR}/bin @${ECHO} @${CAT} ${PKGMESSAGE} @${ECHO} .include <bsd.port.pre.mk> + .if ${PERL_LEVEL} < 500600 -IGNORE= requires perl 5.6 or newer. Please install lang/perl5 or lang/perl5.8, and try again +IGNORE= requires Perl 5.6.0 or newer. Please install lang/perl5.8 and try again +.endif + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils .endif .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/devel/p5-SVN-Web/pkg-plist /home/staff/gslin/work/ports/p5-SVN-Web/pkg-plist --- /usr/ports/devel/p5-SVN-Web/pkg-plist Mon Jan 30 22:27:04 2006 +++ /home/staff/gslin/work/ports/p5-SVN-Web/pkg-plist Sat Aug 12 16:52:31 2006 @@ -1,3 +1,4 @@ +@comment $FreeBSD$ bin/svnweb-install bin/svnweb-server %%SITE_PERL%%/SVN/Web.pm --- p5-SVN-Web-0.47.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060812085340.8FCAF372>