Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 19:34:00 -0200 (BRST)
From:      Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kris@FreeBSD.org, miwi@FreeBSD.org, jmelo@FreeBSD.org
Subject:   ports/108993: [MAINTAINER] mail/softfail: fix PORTDOCS install order
Message-ID:  <200702092134.l19LY07t030006@main.bh.freebsdbrasil.com.br>
Resent-Message-ID: <200702092140.l19LeBuZ028922@freefall.freebsd.org>

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

>Number:         108993
>Category:       ports
>Synopsis:       [MAINTAINER] mail/softfail: fix PORTDOCS install order
>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:   Fri Feb 09 21:40:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Tracanelli
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
FreeBSD Brasil LTDA
>Environment:
System: FreeBSD main.bh.freebsdbrasil.com.br 6.2-STABLE FreeBSD 6.2-STABLE #11: Fri Feb  9 13:41:41 BRST
>Description:

${PORTDOCS} was installed on post-patch instead of post-install

amd64 tinderbox tested

>How-To-Repeat:
>Fix:

--- softfail-1.15.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/softfail/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile	8 Feb 2007 15:48:39 -0000	1.2
+++ Makefile	9 Feb 2007 21:31:51 -0000
@@ -30,8 +30,6 @@
 
 QMAIL_SLAVEPORT=	spamcontrol
 
-SUB_FILES=	pkg-message
-
 .include <bsd.port.pre.mk>
 
 crontab-entry: extract
@@ -110,13 +108,11 @@
 		${WRKSRC}/rotate-softfail.sh
 .endif
 
+post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/softfail.sql ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
-
-post-install:
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
--- softfail-1.15.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?200702092134.l19LY07t030006>