svn commit: r408540 - head/mail/isync
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Feb 9 08:25:32 UTC 2016
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
+ at sample etc/isyncrc.sample
+ at sample etc/mbsyncrc.sample
More information about the svn-ports-all
mailing list