ports/108993: [MAINTAINER] mail/softfail: fix PORTDOCS install order

Patrick Tracanelli eksffa at freebsdbrasil.com.br
Fri Feb 9 21:40:12 UTC 2007


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



More information about the freebsd-ports-bugs mailing list