Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 04:21:44 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perl@FreeBSD.org, gslin@gslin.org
Subject:   ports/101854: [PATCH] textproc/p5-WDDX: Fix portlint
Message-ID:  <20060811202144.AEF303B3@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608112030.k7BKUHEb021344@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101854
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-WDDX: Fix portlint
>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:   Fri Aug 11 20:30:16 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:
- Fix portlint

Port maintainer (perl@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-WDDX-1.02_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/p5-WDDX/Makefile /home/staff/gslin/work/p5-WDDX/Makefile
--- /usr/ports/textproc/p5-WDDX/Makefile	Sun Oct 16 16:23:36 2005
+++ /home/staff/gslin/work/p5-WDDX/Makefile	Sat Aug 12 04:21:20 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	WDDX
 PORTVERSION=	1.02
+PORTREVISION=	1
 CATEGORIES=	textproc perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	../../authors/id/P/PE/PETDANCE
@@ -15,16 +16,22 @@
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Perl module to parse WDDX Packets
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64  \
-		${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
 
 PERL_CONFIGURE=	yes
+
 MAN3=		WDDX.3
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/WDDX
-	${INSTALL_MAN} ${WRKSRC}/Changes ${PREFIX}/share/doc/WDDX
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/Changes ${DOCSDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/textproc/p5-WDDX/pkg-plist /home/staff/gslin/work/p5-WDDX/pkg-plist
--- /usr/ports/textproc/p5-WDDX/pkg-plist	Fri Oct 24 20:04:14 2003
+++ /home/staff/gslin/work/p5-WDDX/pkg-plist	Sat Aug 12 04:20:40 2006
@@ -1,3 +1,5 @@
+@comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/Changes
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/WDDX/.packlist
 %%SITE_PERL%%/WDDX.pm
 %%SITE_PERL%%/WDDX/Array.pm
@@ -10,7 +12,6 @@
 %%SITE_PERL%%/WDDX/Recordset.pm
 %%SITE_PERL%%/WDDX/String.pm
 %%SITE_PERL%%/WDDX/Struct.pm
-%%PORTDOCS%%share/doc/WDDX/Changes
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WDDX
-@dirrm %%SITE_PERL%%/WDDX
-%%PORTDOCS%%@dirrm share/doc/WDDX
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WDDX
+@dirrmtry %%SITE_PERL%%/WDDX
--- p5-WDDX-1.02_1.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?20060811202144.AEF303B3>