Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 14:17:55 GMT
From:      Vladimir Kondratiev <wulf@mail.mipt.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183365: [maintainer] mail/cyrus2dovecot support staging
Message-ID:  <201310271417.r9REHt46094434@oldred.freebsd.org>
Resent-Message-ID: <201310271420.r9REK0Ee099376@freefall.freebsd.org>

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

>Number:         183365
>Category:       ports
>Synopsis:       [maintainer] mail/cyrus2dovecot support staging
>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:   Sun Oct 27 14:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Kondratiev
>Release:        
>Organization:
>Environment:
>Description:
1. support staging
2. add license section
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: cyrus2dovecot/Makefile
===================================================================
--- cyrus2dovecot/Makefile	(revision 331750)
+++ cyrus2dovecot/Makefile	(working copy)
@@ -11,13 +11,14 @@
 MAINTAINER=	wulf@mail.mipt.ru
 COMMENT=	Convert Cyrus folders to Dovecot
 
-PLIST_FILES=	bin/${PORTNAME}
-MAN1=		${PORTNAME}.1
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
 
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+
 USES=		perl5
 NO_WRKSUBDIR=	yes
 
-NO_STAGE=	yes
 post-extract:
 	@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
 
@@ -30,7 +31,9 @@
 		${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
+	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
+		${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
 
 .include <bsd.port.mk>


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



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