Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2016 08:25:30 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408540 - head/mail/isync
Message-ID:  <201602090825.u198PUIo037754@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Feb  9 08:25:30 2016
New Revision: 408540
URL: https://svnweb.freebsd.org/changeset/ports/408540

Log:
  - Use @sample for configuration files.
  - Remove PORTDOCS because it is empty.
  - Use --with-ssl to set CPPFLAGS and LDFLAGS.
  
  Submitted by:	hrs

Modified:
  head/mail/isync/Makefile
  head/mail/isync/pkg-plist

Modified: head/mail/isync/Makefile
==============================================================================
--- head/mail/isync/Makefile	Tue Feb  9 07:11:45 2016	(r408539)
+++ head/mail/isync/Makefile	Tue Feb  9 08:25:30 2016	(r408540)
@@ -3,6 +3,7 @@
 
 PORTNAME=	isync
 PORTVERSION=	1.2.1
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF
 
@@ -11,25 +12,23 @@ COMMENT=	Maintain local copies of remote
 
 LICENSE=	GPLv2
 
+LIB_DEPENDS=	libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
+
 USES=		alias cpe
 CPE_VENDOR=	oswald_buddenhagen
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-sasl=${LOCALBASE} \
+		--with-ssl=${OPENSSLLIB:H}
 USE_OPENSSL=	yes
 USE_BDB=	46+
 
-CPPFLAGS+=	-I${BDB_INCLUDE_DIR} -I${OPENSSLINC}
-LDFLAGS+=	-L${BDB_LIB_DIR} -L${OPENSSLLIB} -lssl -lcrypto
-
-OPTIONS_DEFINE=	DOCS
+CPPFLAGS+=	-I${BDB_INCLUDE_DIR}
+LDFLAGS+=	-L${BDB_LIB_DIR}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|\$$(docdir)/examples|\$$(sysconfdir)|g' \
+	    ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/compat/Makefile.in
 	@${REINPLACE_CMD} -e 's|-ansi||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
-post-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for file in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
-.endfor
-
 .include <bsd.port.mk>

Modified: head/mail/isync/pkg-plist
==============================================================================
--- head/mail/isync/pkg-plist	Tue Feb  9 07:11:45 2016	(r408539)
+++ head/mail/isync/pkg-plist	Tue Feb  9 08:25:30 2016	(r408540)
@@ -5,5 +5,5 @@ bin/mdconvert
 man/man1/isync.1.gz
 man/man1/mbsync.1.gz
 man/man1/mdconvert.1.gz
-%%DOCSDIR%%/examples/isyncrc.sample
-%%DOCSDIR%%/examples/mbsyncrc.sample
+@sample etc/isyncrc.sample
+@sample etc/mbsyncrc.sample



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