Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2008 19:54:18 GMT
From:      Luiz Otavio O Souza <loos.br@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124728: [maintainer] fix the NOPORTDOCS handling
Message-ID:  <200806181954.m5IJsIi7034956@www.freebsd.org>
Resent-Message-ID: <200806182000.m5IK0561010493@freefall.freebsd.org>

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

>Number:         124728
>Category:       ports
>Synopsis:       [maintainer] fix the NOPORTDOCS handling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 18 20:00:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Luiz Otavio O Souza
>Release:        FreeBSD 7.0-STABLE
>Organization:
>Environment:
FreeBSD server.rede.int.br 7.0-STABLE FreeBSD 7.0-STABLE #7: Tue Jun 17 14:50:24 BRT 2008     root@server.rede.int.br:/usr/obj/usr/src/sys/FW  i386

>Description:
The port is ignoring the NOPORTDOCS flag and installing the documentation anyway. This patch fix this problem.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2008-06-16 16:20:38.000000000 -0300
+++ Makefile	2008-06-16 16:25:57.000000000 -0300
@@ -7,15 +7,18 @@
 
 PORTNAME=	vchkuser
 PORTVERSION=	0.2
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF
 
 MAINTAINER=	loos.br@gmail.com
 COMMENT=	Qmail-smtpd+vpopmail check rcpt to on the fly
 
-PLIST_FILES=	vpopmail/bin/vchkuser ${DOCSDIR_REL}/README \
-		${DOCSDIR_REL}/CHANGELOG
+PLIST_FILES=	vpopmail/bin/vchkuser
+.if !defined(NOPORTDOCS)
+PLIST_FILES+=	${DOCSDIR_REL}/README ${DOCSDIR_REL}/CHANGELOG
 PLIST_DIRS=	${DOCSDIR_REL}
+.endif
 
 BUILD_DEPENDS+=	${VPOPMAILDIR}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806181954.m5IJsIi7034956>