Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 13:59:50 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306853 - head/mail/up-imapproxy
Message-ID:  <201211021359.qA2Dxosn034482@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Nov  2 13:59:50 2012
New Revision: 306853
URL: http://svn.freebsd.org/changeset/ports/306853

Log:
  - Update MASTER_SITES
  - Add LICENSE
  - Add MAKE_JOBS_SAFE
  
  PR:		ports/172244
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Feature safe:	yes

Modified:
  head/mail/up-imapproxy/Makefile
  head/mail/up-imapproxy/distinfo
  head/mail/up-imapproxy/pkg-plist

Modified: head/mail/up-imapproxy/Makefile
==============================================================================
--- head/mail/up-imapproxy/Makefile	Fri Nov  2 13:44:19 2012	(r306852)
+++ head/mail/up-imapproxy/Makefile	Fri Nov  2 13:59:50 2012	(r306853)
@@ -1,34 +1,35 @@
-# New ports collection makefile for:	imapproxy
-# Date created:		11.05.04
-# Whom:			Martin Blapp
-#
+# Created by: Martin Blapp
 # $FreeBSD$
-#
 
 PORTNAME=	imapproxy
 PORTVERSION=	1.2.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
-MASTER_SITES=	ftp://ftp.univie.ac.at/applications/www.imapproxy.org/downloads/
+MASTER_SITES=	SF/squirrelmail/imap_proxy/${PORTVERSION}
 PKGNAMEPREFIX=	up-
-DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+DISTNAME=	squirrelmail-imap_proxy-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A caching IMAP proxy server
+COMMENT=	Caching IMAP proxy server
 
+LICENSE=	GPLv2 # (or later)
+
+OPTIONS_DEFINE=	DOVECOT DOCS
+DOVECOT_DESC=	Use with dovecot2
+
+USE_BZIP2=	yes
+USE_GNOME=	gnomehack
+USE_OPENSSL=	yes
 USE_AUTOTOOLS=	autoheader
+CONFIGURE_ARGS=	--with-openssl=${OPENSSLBASE}
+MAKE_JOBS_SAFE=	yes
 
 USE_RC_SUBR=	imapproxyd
-DOCS=		COPYING ChangeLog README README.debian \
-		README.known_issues README.ssl
-SBINS=		in.imapproxyd pimpstat
 
 SUB_FILES=	pkg-message
 
-CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
-
-OPTIONS_DEFINE=	DOVECOT DOCS
-DOVECOT_DESC=	Use with dovecot2
+DOCS=		ChangeLog README README.debian README.known_issues README.ssl
+SBIN=		in.imapproxyd pimpstat
 
 .include <bsd.port.options.mk>
 
@@ -40,12 +41,17 @@ SUB_LIST+=	DOVECOT=""
 .endif
 
 do-install:
+.for i in ${SBIN}
+	(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${PREFIX}/sbin)
+.endfor
+	(cd ${WRKSRC}/scripts && ${INSTALL_DATA} imapproxy.conf \
+		${PREFIX}/etc/imapproxyd.conf.sample)
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.for i in ${DOCS}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+.endfor
 .endif
-	@${INSTALL_PROGRAM} ${SBINS:S,^,${WRKSRC}/bin/,} ${PREFIX}/sbin
-	@${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.sample
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/mail/up-imapproxy/distinfo
==============================================================================
--- head/mail/up-imapproxy/distinfo	Fri Nov  2 13:44:19 2012	(r306852)
+++ head/mail/up-imapproxy/distinfo	Fri Nov  2 13:59:50 2012	(r306853)
@@ -1,2 +1,2 @@
-SHA256 (up-imapproxy-1.2.7.tar.gz) = 7da4524eac61bfee61d366eddbdcd8120eb8347a2a0473e2fb1e21d6f7824e60
-SIZE (up-imapproxy-1.2.7.tar.gz) = 137843
+SHA256 (squirrelmail-imap_proxy-1.2.7.tar.bz2) = dd8ad40e3e457bd76fc9f19ef1c0d89911e3e3cc722415d1183f765dcac1ae48
+SIZE (squirrelmail-imap_proxy-1.2.7.tar.bz2) = 111651

Modified: head/mail/up-imapproxy/pkg-plist
==============================================================================
--- head/mail/up-imapproxy/pkg-plist	Fri Nov  2 13:44:19 2012	(r306852)
+++ head/mail/up-imapproxy/pkg-plist	Fri Nov  2 13:59:50 2012	(r306853)
@@ -2,7 +2,6 @@
 etc/imapproxyd.conf.sample
 sbin/pimpstat
 sbin/in.imapproxyd
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/README.debian



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