Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 20:39:05 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464952 - head/mail/courier
Message-ID:  <201803182039.w2IKd5Cm088421@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Mar 18 20:39:04 2018
New Revision: 464952
URL: https://svnweb.freebsd.org/changeset/ports/464952

Log:
  mail/courier: Unbreak by fixing shebang
  
  Also add LICENSE.
  
  Approved by:	portmgr (port compliance, infrastructure)

Modified:
  head/mail/courier/Makefile

Modified: head/mail/courier/Makefile
==============================================================================
--- head/mail/courier/Makefile	Sun Mar 18 20:30:12 2018	(r464951)
+++ head/mail/courier/Makefile	Sun Mar 18 20:39:04 2018	(r464952)
@@ -10,6 +10,9 @@ MASTER_SITES=	SF
 MAINTAINER=	bsd@dino.sk
 COMMENT=	Courier SMTP IMAP POP3 HTTP mail server suite
 
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING.GPL
+
 BUILD_DEPENDS=	courierauthconfig:security/courier-authlib-base
 LIB_DEPENDS=	libpcre.so:devel/pcre
 RUN_DEPENDS=	courierauthconfig:security/courier-authlib-base \
@@ -264,6 +267,9 @@ pre-patch:
 	@${CP} ${TEMPLATES}/config.guess ${TEMPLATES}/config.sub ${WRKSRC}
 
 post-patch:
+	@${REINPLACE_CMD} -i '' -e 's|#! perl|#!${PERL}|g' \
+		${WRKSRC}/courier/webadmin/*.pl \
+		${WRKSRC}/courier/webadmin/*.pl.in
 	@${REINPLACE_CMD} -e 's|^PROG=\./|PROG=exec ./|g' \
 		${WRKSRC}/courier/module.*/courier.config
 	@${REINPLACE_CMD} -e 's|@mydatadir@|@sysconfdir@|g' \



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