svn commit: r464952 - head/mail/courier
Yuri Victorovich
yuri at FreeBSD.org
Sun Mar 18 20:39:05 UTC 2018
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 at 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' \
More information about the svn-ports-all
mailing list